Changeset 620
- Timestamp:
- Jul 22, 2006 12:49:17 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjsip-apps/src/pjsua/pjsua_app.c
r612 r620 625 625 case OPT_MAX_CALLS: 626 626 cfg->cfg.max_calls = my_atoi(pj_optarg); 627 if (cfg->cfg.max_calls < 1 || cfg->cfg.max_calls > 255) { 628 PJ_LOG(1,(THIS_FILE,"Too many calls for max-calls (1-255)")); 627 if (cfg->cfg.max_calls < 1 || cfg->cfg.max_calls > PJSUA_MAX_CALLS) { 628 PJ_LOG(1,(THIS_FILE,"Too many calls for max-calls (1-%d)", 629 PJSUA_MAX_CALLS)); 629 630 return -1; 630 631 } … … 1316 1317 puts("| q QUIT |"); 1317 1318 puts("+=============================================================================+"); 1319 1320 i = pjsua_call_get_count(); 1321 printf("You have %d active call%s\n", i, (i>1?"s":"")); 1318 1322 } 1319 1323
Note: See TracChangeset
for help on using the changeset viewer.