From 57094513ef47f95912f6739f3af0df3d708dc895 Mon Sep 17 00:00:00 2001 From: Bert Belder Date: Thu, 14 Sep 2017 01:27:21 +0200 Subject: [PATCH] test-udp-pings: remove unnecessary perror() call --- test/test-udp-pings.c | 1 - 1 file changed, 1 deletion(-) diff --git a/test/test-udp-pings.c b/test/test-udp-pings.c index 1556d6c..e1a9d73 100644 --- a/test/test-udp-pings.c +++ b/test/test-udp-pings.c @@ -149,7 +149,6 @@ int main(void) { wsa_buf.len = sizeof PING; r = WSASend(sock, &wsa_buf, 1, &bytes, 0, NULL, NULL); we_set_win_error(0); - if (r < 0) perror("send"); assert(r >= 0); assert(bytes == sizeof PING);