Commit 06cfa741 authored by Pekka Pessi's avatar Pekka Pessi

Removed stupid VC98 warning from tport_threadpool.c

darcs-hash:20060411182158-65a35-c5470b313ce45938987feb77c3ae720c76ebda66.gz
parent a62683d4
......@@ -421,7 +421,7 @@ int thrp_udp_recv(tport_threadpool_t *thrp, thrp_udp_deliver_t *tpd)
/* Simulate packet loss */
if (tp->tp_params->tpp_drop &&
su_randint(0, 1000) < tp->tp_params->tpp_drop) {
recv(s, &sample, 1, 0);
recv(s, sample, 1, 0);
pthread_mutex_unlock(mutex);
SU_DEBUG_3(("tport(%p): simulated packet loss!\n", tp));
return 0;
......
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