test-udp-pings: remove unnecessary perror() call

This commit is contained in:
Bert Belder 2017-09-14 01:27:21 +02:00
parent 12abb04d46
commit 57094513ef

View File

@ -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);