Changeset 4206 for pjproject/trunk/pjsip/src/pjsip-simple/publishc.c
- Timestamp:
- Jul 16, 2012 2:45:09 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjsip/src/pjsip-simple/publishc.c
r4173 r4206 356 356 if (!via_addr) 357 357 pj_bzero(&pubc->via_addr, sizeof(pubc->via_addr)); 358 else 359 pubc->via_addr = *via_addr; 358 else { 359 if (pj_strcmp(&pubc->via_addr.host, &via_addr->host)) 360 pj_strdup(pubc->pool, &pubc->via_addr.host, &via_addr->host); 361 pubc->via_addr.port = via_addr->port; 362 } 360 363 pubc->via_tp = via_tp; 361 364
Note: See TracChangeset
for help on using the changeset viewer.