Ignore:
Timestamp:
Mar 27, 2015 6:17:27 AM (10 years ago)
Author:
nanang
Message:

Re #1828: Fixed misc compile warnings (on iOS).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjsip-apps/src/samples/siprtp.c

    r4537 r5035  
    915915        case 'c': 
    916916            app.max_calls = atoi(pj_optarg); 
    917             if (app.max_calls < 0 || app.max_calls > MAX_CALLS) { 
    918                 PJ_LOG(3,(THIS_FILE, "Invalid max calls value %s", pj_optarg)); 
     917            if (app.max_calls > MAX_CALLS) { 
     918                PJ_LOG(3,(THIS_FILE,"Invalid max calls value %s " 
     919                                    "(must be <= %d)", pj_optarg, MAX_CALLS)); 
    919920                return 1; 
    920921            } 
Note: See TracChangeset for help on using the changeset viewer.