Commit c4febb2d authored by Pekka Pessi's avatar Pekka Pessi

tport: build fixes from Freeswitch

darcs-hash:20080121170538-65a35-5a4151087ddc4a1093352d52fd36cc96c3a31f76.gz
parent 39b9c3cb
......@@ -242,7 +242,7 @@ int tport_recv_sctp(tport_t *self)
return 0; /* End of stream */
}
tport_recv_bytes(self, n, n);
tport_recv_bytes(self, N, N);
veclen = tport_recv_iovec(self, &self->tp_msg, iovec, N, 0);
if (veclen < 0)
......
......@@ -114,7 +114,9 @@ int tport_udp_init_primary(tport_primary_t *pri,
unsigned rmem = 0, wmem = 0;
int events = SU_WAIT_IN;
int s;
#if HAVE_IP_ADD_MEMBERSHIP
su_sockaddr_t *su = (su_sockaddr_t *)ai->ai_addr;
#endif
int const one = 1; (void)one;
s = su_socket(ai->ai_family, ai->ai_socktype, ai->ai_protocol);
......
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