Ignore:
Timestamp:
May 9, 2019 7:24:57 AM (3 years ago)
Author:
nanang
Message:

Re #1298: Updated PJMEDIA* to use PJ_ERROR consistently.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjmedia/src/pjmedia/sdp.c

    r5820 r5982  
    14341434    PJ_CATCH_ANY { 
    14351435         
    1436         char errmsg[PJ_ERR_MSG_SIZE]; 
    1437         pj_strerror(ctx.last_error, errmsg, sizeof(errmsg)); 
    1438  
    1439         PJ_LOG(4, (THIS_FILE, "Error parsing SDP in line %d col %d: %s", 
    1440                    scanner.line, pj_scan_get_col(&scanner), 
    1441                    errmsg)); 
     1436        PJ_PERROR(4, (THIS_FILE, ctx.last_error, 
     1437                      "Error parsing SDP in line %d col %d", 
     1438                      scanner.line, pj_scan_get_col(&scanner))); 
    14421439 
    14431440        session = NULL; 
Note: See TracChangeset for help on using the changeset viewer.