Changeset 709:19a9470de77a in freeDiameter for extensions/app_radgw/rgwx_sip.c
- Timestamp:
- Feb 10, 2011, 10:49:09 AM (13 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/app_radgw/rgwx_sip.c
r706 r709 648 648 size_t temp_len = attr->length - sizeof(struct radius_attr_hdr) + CONSTSTRLEN(SIP_PREFIX) + 1; 649 649 CHECK_MALLOC( temp = malloc(temp_len) ); 650 temp_len = snprintf((char *)temp, temp_len, SIP_PREFIX "%.*s", attr->length - sizeof(struct radius_attr_hdr), (char *)(attr + 1));650 temp_len = snprintf((char *)temp, temp_len, SIP_PREFIX "%.*s", (int)(attr->length - sizeof(struct radius_attr_hdr)), (char *)(attr + 1)); 651 651 652 652 value.os.data=temp;
Note: See TracChangeset
for help on using the changeset viewer.