Changeset 1111 for pjproject/trunk/pjnath/src/pjnath/stun_session.c
- Timestamp:
- Mar 28, 2007 3:49:48 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjnath/src/pjnath/stun_session.c
r1106 r1111 245 245 246 246 /* The server SHOULD include a SERVER attribute in all responses */ 247 if (sess->srv_name.slen && (PJ_STUN_IS_ RESPONSE(msg->hdr.type) ||247 if (sess->srv_name.slen && (PJ_STUN_IS_SUCCESS_RESPONSE(msg->hdr.type) || 248 248 PJ_STUN_IS_ERROR_RESPONSE(msg->hdr.type))) 249 249 { … … 633 633 } else { 634 634 if (cache_res && 635 (PJ_STUN_IS_ RESPONSE(tdata->msg->hdr.type) ||635 (PJ_STUN_IS_SUCCESS_RESPONSE(tdata->msg->hdr.type) || 636 636 PJ_STUN_IS_ERROR_RESPONSE(tdata->msg->hdr.type))) 637 637 { … … 952 952 953 953 /* Handle message */ 954 if (PJ_STUN_IS_ RESPONSE(msg->hdr.type) ||954 if (PJ_STUN_IS_SUCCESS_RESPONSE(msg->hdr.type) || 955 955 PJ_STUN_IS_ERROR_RESPONSE(msg->hdr.type)) 956 956 {
Note: See TracChangeset
for help on using the changeset viewer.