Commit c85728ea authored by Pekka Pessi's avatar Pekka Pessi

tport_type_udp.c: checking error while checking that MSG_TRUNC works.

darcs-hash:20070821133859-65a35-cc469bf6d07afe79f6034d6d429979071f35ba99.gz
parent 819f7139
......@@ -198,6 +198,9 @@ static void tport_check_trunc(tport_t *tp, su_addrinfo_t *ai)
"TEST", 4, 0,
(void *)ai->ai_addr, ai->ai_addrlen);
if (n != 4)
return;
for (;;) {
n = su_recvfrom(tp->tp_socket, buffer, sizeof buffer, MSG_TRUNC,
(void *)&su, &sulen);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment