Ignore:
Timestamp:
Mar 27, 2015 6:17:27 AM (7 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/pjsip-perf.c

    r4537 r5035  
    12161216        case 'c': 
    12171217            app.client.job_count = my_atoi(pj_optarg); 
    1218             if (app.client.job_count < 0) { 
    1219                 PJ_LOG(3,(THIS_FILE, "Invalid --local-port %s", pj_optarg)); 
    1220                 return -1; 
    1221             } 
    12221218            if (app.client.job_count > pjsip_cfg()->tsx.max_count) 
    12231219                PJ_LOG(3,(THIS_FILE,  
     
    12601256        case 't': 
    12611257            app.client.timeout = my_atoi(pj_optarg); 
    1262             if (app.client.timeout < 0 || app.client.timeout > 600) { 
     1258            if (app.client.timeout > 600) { 
    12631259                PJ_LOG(3,(THIS_FILE, "Invalid --timeout %s", pj_optarg)); 
    12641260                return -1; 
Note: See TracChangeset for help on using the changeset viewer.