Changeset 1818 for pjproject/trunk/pjsip-apps/src/samples/pjsip-perf.c
- Timestamp:
- Feb 22, 2008 11:10:17 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjsip-apps/src/samples/pjsip-perf.c
r1619 r1818 72 72 73 73 #define THIS_FILE "pjsip-perf.c" 74 #define DEFAULT_COUNT ( PJSIP_MAX_TSX_COUNT/2>10000?10000:PJSIP_MAX_TSX_COUNT/2)74 #define DEFAULT_COUNT (pjsip_cfg()->tsx.max_count/2>10000?10000:pjsip_cfg()->tsx.max_count/2) 75 75 #define JOB_WINDOW 1000 76 76 #define TERMINATE_TSX(x,c) … … 1223 1223 return -1; 1224 1224 } 1225 if (app.client.job_count > PJSIP_MAX_TSX_COUNT)1225 if (app.client.job_count > pjsip_cfg()->tsx.max_count) 1226 1226 PJ_LOG(3,(THIS_FILE, 1227 1227 "Warning: --count value (%d) exceeds maximum " 1228 1228 "transaction count (%d)", app.client.job_count, 1229 PJSIP_MAX_TSX_COUNT));1229 pjsip_cfg()->tsx.max_count)); 1230 1230 break; 1231 1231
Note: See TracChangeset
for help on using the changeset viewer.