- Timestamp:
- May 12, 2009 3:55:09 PM (16 years ago)
- Location:
- pjproject/trunk/pjsip/src
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjsip/src/pjsip/sip_parser.c
r2522 r2695 1589 1589 1590 1590 pj_bzero(status_line, sizeof(*status_line)); 1591 pj_scan_init(&scanner, buf, size, 0, &on_syntax_error); 1591 pj_scan_init(&scanner, buf, size, PJ_SCAN_AUTOSKIP_WS_HEADER, 1592 &on_syntax_error); 1592 1593 1593 1594 PJ_TRY { -
pjproject/trunk/pjsip/src/pjsua-lib/pjsua_call.c
r2643 r2695 3416 3416 body = msg->body; 3417 3417 if (!body) { 3418 PJ_LOG( 4,(THIS_FILE,3418 PJ_LOG(2,(THIS_FILE, 3419 3419 "Warning: received NOTIFY without message body")); 3420 3420 return; … … 3425 3425 pj_stricmp2(&body->content_type.subtype, "sipfrag") != 0) 3426 3426 { 3427 PJ_LOG( 4,(THIS_FILE,3427 PJ_LOG(2,(THIS_FILE, 3428 3428 "Warning: received NOTIFY with non message/sipfrag " 3429 3429 "content")); … … 3435 3435 &status_line); 3436 3436 if (status != PJ_SUCCESS) { 3437 PJ_LOG( 4,(THIS_FILE,3437 PJ_LOG(2,(THIS_FILE, 3438 3438 "Warning: received NOTIFY with invalid " 3439 3439 "message/sipfrag content")); -
pjproject/trunk/pjsip/src/test/msg_test.c
r2660 r2695 816 816 static pj_status_t simple_test(void) 817 817 { 818 char stbuf[] = "SIP/2.0 180 Ringing like it never rings before"; 818 819 unsigned i; 820 pjsip_status_line st_line; 819 821 pj_status_t status; 820 822 821 823 PJ_LOG(3,(THIS_FILE, " simple test..")); 824 825 status = pjsip_parse_status_line(stbuf, pj_ansi_strlen(stbuf), &st_line); 826 if (status != PJ_SUCCESS) 827 return status; 828 822 829 for (i=0; i<PJ_ARRAY_SIZE(test_array); ++i) { 823 830 pj_pool_t *pool;
Note: See TracChangeset
for help on using the changeset viewer.