diff options
Diffstat (limited to 'src/udp.c')
-rw-r--r-- | src/udp.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -198,7 +198,8 @@ ssize_t udp_recv(struct udp_sock *m, void *data, int size) (struct sockaddr *)&m->addr, &sin_size); if (ret == -1) { - m->stats.error++; + if (errno != EAGAIN) + m->stats.error++; return ret; } |