diff options
author | Benny Prijono <bennylp@teluu.com> | 2006-09-09 13:23:09 +0000 |
---|---|---|
committer | Benny Prijono <bennylp@teluu.com> | 2006-09-09 13:23:09 +0000 |
commit | c2d366f11b537de549e431a294cf0cb65f6572d6 (patch) | |
tree | 75f28230793a22cb4835ee4e3684953a85e8b52a /pjsip-apps | |
parent | bd760259fde9e1f5f5f1d71a509f8999a50d6fa4 (diff) |
Fix compilation error when PJSIP_AUTH_HEADER_CACHING and PJSIP_AUTH_AUTO_SEND_NEXT is disabled, and set the default for both to disabled. Also fixed the error message in pjsua when invalid arguments are specified.
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@695 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'pjsip-apps')
-rw-r--r-- | pjsip-apps/src/pjsua/pjsua_app.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pjsip-apps/src/pjsua/pjsua_app.c b/pjsip-apps/src/pjsua/pjsua_app.c index 1ed3fe8c..3639b878 100644 --- a/pjsip-apps/src/pjsua/pjsua_app.c +++ b/pjsip-apps/src/pjsua/pjsua_app.c @@ -715,8 +715,8 @@ static pj_status_t parse_args(int argc, char *argv[], default: PJ_LOG(1,(THIS_FILE, - "Argument \"--%s\" is not valid. Use --help to see help", - long_options[option_index].name)); + "Argument \"%s\" is not valid. Use --help to see help", + argv[pj_optind-1])); return -1; } } |