Changeset 1275 for pjproject/trunk/pjnath/src/pjnath/ice_session.c
- Timestamp:
- May 15, 2007 10:42:56 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjnath/src/pjnath/ice_session.c
r1239 r1275 1870 1870 /* Reject any requests except Binding request */ 1871 1871 if (msg->hdr.type != PJ_STUN_BINDING_REQUEST) { 1872 status = pj_stun_session_create_res ponse(sess, msg,1873 1874 1872 status = pj_stun_session_create_res(sess, msg, 1873 PJ_STUN_SC_BAD_REQUEST, 1874 NULL, &tdata); 1875 1875 if (status != PJ_SUCCESS) 1876 1876 return status; … … 1928 1928 } else { 1929 1929 /* Generate 487 response */ 1930 status = pj_stun_session_create_res ponse(sess, msg,1931 1932 1930 status = pj_stun_session_create_res(sess, msg, 1931 PJ_STUN_SC_ROLE_CONFLICT, 1932 NULL, &tdata); 1933 1933 if (status == PJ_SUCCESS) { 1934 1934 pj_stun_session_send_msg(sess, PJ_TRUE, … … 1944 1944 if (pj_cmp_timestamp(&ice->tie_breaker, &role_attr->value) < 0) { 1945 1945 /* Generate 487 response */ 1946 status = pj_stun_session_create_res ponse(sess, msg,1947 1948 1946 status = pj_stun_session_create_res(sess, msg, 1947 PJ_STUN_SC_ROLE_CONFLICT, 1948 NULL, &tdata); 1949 1949 if (status == PJ_SUCCESS) { 1950 1950 pj_stun_session_send_msg(sess, PJ_TRUE, … … 1977 1977 * First send response to this request 1978 1978 */ 1979 status = pj_stun_session_create_res ponse(sess, msg, 0, NULL, &tdata);1979 status = pj_stun_session_create_res(sess, msg, 0, NULL, &tdata); 1980 1980 if (status != PJ_SUCCESS) { 1981 1981 pj_mutex_unlock(ice->mutex);
Note: See TracChangeset
for help on using the changeset viewer.