- Timestamp:
- Jan 18, 2017 10:55:35 AM (8 years ago)
- Location:
- pjproject/branches/projects/uwp
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/branches/projects/uwp
- Property svn:mergeinfo changed
/pjproject/trunk merged: 5516-5525,5527,5530-5531
- Property svn:mergeinfo changed
-
pjproject/branches/projects/uwp/pjnath/src/pjnath/nat_detect.c
r5513 r5532 181 181 182 182 addr_len = pj_sockaddr_get_len(server); 183 pj_ bzero(&local, sizeof(pj_sockaddr));183 pj_sockaddr_init(server->addr.sa_family, &local, NULL, 0); 184 184 status = pj_sock_bind(sock, &local, addr_len); 185 185 if (status != PJ_SUCCESS) { … … 281 281 * Bind to any. 282 282 */ 283 pj_bzero(&sess->local_addr, sizeof(pj_sockaddr));284 283 addr_len = pj_sockaddr_get_len(server); 284 pj_sockaddr_init(server->addr.sa_family, &sess->local_addr, NULL, 0); 285 285 status = pj_sock_bind(sess->sock, &sess->local_addr, addr_len); 286 286 if (status != PJ_SUCCESS)
Note: See TracChangeset
for help on using the changeset viewer.