Changeset 1126 for pjproject/trunk/pjnath/src/pjnath/stun_session.c
- Timestamp:
- Apr 2, 2007 11:30:14 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjnath/src/pjnath/stun_session.c
r1111 r1126 44 44 #endif 45 45 46 #if PJ_LOG_MAX_LEVEL >= 4 47 # define LOG_ERR_(sess, title, rc) stun_perror(sess, title, rc) 48 static void stun_perror(pj_stun_session *sess, const char *title, 49 pj_status_t status) 50 { 51 char errmsg[PJ_ERR_MSG_SIZE]; 52 53 pj_strerror(status, errmsg, sizeof(errmsg)); 54 55 PJ_LOG(4,(SNAME(sess), "%s: %s", title, errmsg)); 56 } 57 58 #else 59 # define LOG_ERR_(sess, title, rc) 60 #endif 46 #define LOG_ERR_(sess,title,rc) pjnath_perror(sess->pool->obj_name,title,rc) 61 47 62 48 #define TDATA_POOL_SIZE 1024 … … 780 766 tdata = tsx_lookup(sess, msg); 781 767 if (tdata == NULL) { 782 PJ_LOG( 4,(SNAME(sess),768 PJ_LOG(5,(SNAME(sess), 783 769 "Transaction not found, response silently discarded")); 784 770 return PJ_SUCCESS;
Note: See TracChangeset
for help on using the changeset viewer.