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/include | |
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/include')
-rw-r--r-- | pjsip/include/pjsip/sip_auth.h | 2 | ||||
-rw-r--r-- | pjsip/include/pjsip/sip_config.h | 4 |
2 files changed, 2 insertions, 4 deletions
diff --git a/pjsip/include/pjsip/sip_auth.h b/pjsip/include/pjsip/sip_auth.h index 3028f840..28e1c828 100644 --- a/pjsip/include/pjsip/sip_auth.h +++ b/pjsip/include/pjsip/sip_auth.h @@ -117,9 +117,7 @@ typedef struct pjsip_cached_auth pj_uint32_t nc; /**< Nonce count. */ pj_str_t cnonce; /**< Cnonce value. */ #endif -#if PJSIP_AUTH_AUTO_SEND_NEXT pjsip_www_authenticate_hdr *last_chal; /**< Last challenge seen. */ -#endif #if PJSIP_AUTH_HEADER_CACHING pjsip_cached_auth_hdr cached_hdr;/**< List of cached header for each method. */ diff --git a/pjsip/include/pjsip/sip_config.h b/pjsip/include/pjsip/sip_config.h index f023d10a..e4b402fb 100644 --- a/pjsip/include/pjsip/sip_config.h +++ b/pjsip/include/pjsip/sip_config.h @@ -289,7 +289,7 @@ * Default: 1 */ #if !defined(PJSIP_AUTH_HEADER_CACHING) -# define PJSIP_AUTH_HEADER_CACHING 1 +# define PJSIP_AUTH_HEADER_CACHING 0 #endif /** @@ -310,7 +310,7 @@ * Default: 1 */ #if !defined(PJSIP_AUTH_AUTO_SEND_NEXT) -# define PJSIP_AUTH_AUTO_SEND_NEXT 1 +# define PJSIP_AUTH_AUTO_SEND_NEXT 0 #endif /** |