Browse code

- more bsd tests

Andrei Pelinescu-Onciul authored on 09/09/2002 20:43:01
Showing 1 changed files
... ...
@@ -168,7 +168,7 @@ int udp_init(struct socket_info* sock_info)
168 168
 	if (bind(sock_info->socket,  &addr->s, sock_len)==-1){
169 169
 		LOG(L_ERR, "ERROR: udp_init: bind(%x, %p, %d) on %s: %s\n",
170 170
 				sock_info->socket, &addr->s, 
171
-				sizeof(union sockaddr_union),
171
+				sock_len,
172 172
 				sock_info->address_str.s,
173 173
 				strerror(errno));
174 174
 	#ifdef USE_IPV6