Changeset 557 for pjproject/trunk/pjlib/src/pj/sock_bsd.c
- Timestamp:
- Jun 28, 2006 11:10:02 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjlib/src/pj/sock_bsd.c
r433 r557 211 211 RESET_LEN(addr); 212 212 addr->sin_family = AF_INET; 213 pj_memset(addr->sin_zero, 0, sizeof(addr->sin_zero)); 213 214 214 215 if (str_addr && str_addr->slen) { … … 248 249 RESET_LEN(addr); 249 250 addr->sin_family = PJ_AF_INET; 251 pj_memset(addr->sin_zero, 0, sizeof(addr->sin_zero)); 250 252 pj_sockaddr_in_set_port(addr, port); 251 253 return pj_sockaddr_in_set_str_addr(addr, str_addr); … … 369 371 SET_LEN(&addr, sizeof(pj_sockaddr_in)); 370 372 addr.sin_family = PJ_AF_INET; 373 pj_memset(addr.sin_zero, 0, sizeof(addr.sin_zero)); 371 374 addr.sin_addr.s_addr = pj_htonl(addr32); 372 375 addr.sin_port = pj_htons(port);
Note: See TracChangeset
for help on using the changeset viewer.