Changeset 4895
- Timestamp:
- Aug 20, 2014 10:35:29 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjnath/src/pjnath/stun_msg.c
r4890 r4895 1138 1138 const pj_str_t *value) 1139 1139 { 1140 INIT_ATTR(attr, attr_type, 0);1141 1140 if (value && value->slen) { 1141 INIT_ATTR(attr, attr_type, value->slen); 1142 1142 attr->value.slen = value->slen; 1143 1143 pj_strdup(pool, &attr->value, value); 1144 } else { 1145 INIT_ATTR(attr, attr_type, 0); 1144 1146 } 1145 1147 return PJ_SUCCESS;
Note: See TracChangeset
for help on using the changeset viewer.