fixed typo when rcvmmsg() is not available
Costa Tsaousis (ktsaou) committed
Apr 29, 2017 at 02:57 UTC
8365b0300ec37ca930f3b5392389d754b0d5174f
1 file changed
+1
-1
src/statsd.c
+1
-1
@@ -756,7 +756,7 @@ static int statsd_rcv_callback(int fd, int socktype, void *data, short int *even
756
// read failed
757
if (errno != EWOULDBLOCK && errno != EAGAIN && errno != EINTR) {
758
error("STATSD: recv() on UDP socket %d failed.", fd);
759
- statsd.errors++;
759
+ statsd.socket_errors++;
760
return -1;
761
}
762
} else if (rc) {