Changeset 3519
- Timestamp:
- Apr 11, 2011 3:16:48 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/branches/projects/2.0-dev/pjsip-apps/src/pjsua/pjsua_app.c
r3500 r3519 138 138 static pj_str_t uri_arg; 139 139 140 static char some_buf[1024 * 3]; 140 #if defined(PJMEDIA_HAS_RTCP_XR) && (PJMEDIA_HAS_RTCP_XR != 0) 141 # define SOME_BUF_SIZE (1024 * 10) 142 #else 143 # define SOME_BUF_SIZE (1024 * 3) 144 #endif 145 146 static char some_buf[SOME_BUF_SIZE]; 141 147 142 148 #ifdef STEREO_DEMO … … 196 202 puts (" --no-color Disable colorful logging"); 197 203 puts (" --light-bg Use dark colors for light background (default is dark bg)"); 204 puts (" --no-stderr Disable stderr"); 198 205 199 206 puts (""); … … 522 529 int option_index; 523 530 enum { OPT_CONFIG_FILE=127, OPT_LOG_FILE, OPT_LOG_LEVEL, OPT_APP_LOG_LEVEL, 524 OPT_LOG_APPEND, OPT_COLOR, OPT_NO_COLOR, OPT_LIGHT_BG, 531 OPT_LOG_APPEND, OPT_COLOR, OPT_NO_COLOR, OPT_LIGHT_BG, OPT_NO_STDERR, 525 532 OPT_HELP, OPT_VERSION, OPT_NULL_AUDIO, OPT_SND_AUTO_CLOSE, 526 533 OPT_LOCAL_PORT, OPT_IP_ADDR, OPT_PROXY, OPT_OUTBOUND_PROXY, … … 567 574 { "no-color", 0, 0, OPT_NO_COLOR}, 568 575 { "light-bg", 0, 0, OPT_LIGHT_BG}, 576 { "no-stderr", 0, 0, OPT_NO_STDERR}, 569 577 { "help", 0, 0, OPT_HELP}, 570 578 { "version", 0, 0, OPT_VERSION}, … … 771 779 break; 772 780 781 case OPT_NO_STDERR: 782 freopen("/dev/null", "w", stderr); 783 break; 784 773 785 case OPT_HELP: 774 786 usage();
Note: See TracChangeset
for help on using the changeset viewer.