Changeset 4615
- Timestamp:
- Oct 8, 2013 11:14:42 AM (11 years ago)
- Location:
- pjproject/trunk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjnath/src/pjnath/stun_msg.c
r4613 r4615 1138 1138 const pj_str_t *value) 1139 1139 { 1140 INIT_ATTR(attr, attr_type, value->slen); 1141 if (value && value->slen) 1140 INIT_ATTR(attr, attr_type, 0); 1141 if (value && value->slen) { 1142 attr->value.slen = value->slen; 1142 1143 pj_strdup(pool, &attr->value, value); 1143 else 1144 attr->value.slen = 0; 1144 } 1145 1145 return PJ_SUCCESS; 1146 1146 } -
pjproject/trunk/pjnath/src/pjnath/stun_sock.c
r4606 r4615 212 212 stun_sock->ka_interval = PJ_STUN_KEEP_ALIVE_SEC; 213 213 214 if (cfg && cfg->grp_lock) {214 if (cfg->grp_lock) { 215 215 stun_sock->grp_lock = cfg->grp_lock; 216 216 } else { -
pjproject/trunk/pjsip/src/pjsip/sip_transport.c
r4537 r4615 578 578 PJ_DEF(char*) pjsip_tx_data_get_info( pjsip_tx_data *tdata ) 579 579 { 580 PJ_ASSERT_RETURN(tdata, "NULL"); 581 580 582 /* tdata->info may be assigned by application so if it exists 581 583 * just return it. … … 584 586 return tdata->info; 585 587 586 if (tdata ==NULL || tdata->msg==NULL)588 if (tdata->msg==NULL) 587 589 return "NULL"; 588 590
Note: See TracChangeset
for help on using the changeset viewer.