Changeset 3035 for pjproject/trunk
- Timestamp:
- Dec 22, 2009 1:00:22 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjsip/src/pjsip/sip_transport_tcp.c
r2966 r3035 1281 1281 pj_sockaddr_in *tp_addr = (pj_sockaddr_in*)&tcp->base.local_addr; 1282 1282 1283 if (tp_addr->sin_addr.s_addr != addr.sin_addr.s_addr) { 1283 if (pj_sockaddr_has_addr(&addr) && 1284 tp_addr->sin_addr.s_addr != addr.sin_addr.s_addr) 1285 { 1284 1286 tp_addr->sin_addr.s_addr = addr.sin_addr.s_addr; 1285 1287 tp_addr->sin_port = addr.sin_port;
Note: See TracChangeset
for help on using the changeset viewer.