Changeset 2720
- Timestamp:
- May 20, 2009 5:28:31 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/branches/projects/sipit24/pjnath/src/pjnath/stun_msg_dump.c
r2589 r2720 58 58 { 59 59 char *p = buffer, *end = buffer + length; 60 const char *attr_name = pj_stun_get_attr_name(ahdr->type); 61 char attr_buf[32]; 60 62 int len; 63 64 if (*attr_name == '?') { 65 pj_ansi_snprintf(attr_buf, sizeof(attr_buf), "Attr 0x%x", 66 ahdr->type); 67 attr_name = attr_buf; 68 } 61 69 62 70 len = pj_ansi_snprintf(p, end-p, 63 71 " %s: length=%d", 64 pj_stun_get_attr_name(ahdr->type),72 attr_name, 65 73 (int)ahdr->length); 66 74 APPLY();
Note: See TracChangeset
for help on using the changeset viewer.