summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2016-11-16 15:22:46 +0000
committerJeremy Allison <jra@samba.org>2016-11-20 17:29:07 +0100
commit4f702e4b4463319db6d7638901834611a665b884 (patch)
treedded126bebc11584b0bb666422242c665df249fc
parentdf9e7c7ae55da5df1f55be194dff86896897de4a (diff)
downloadsamba-4f702e4b4463319db6d7638901834611a665b884.tar.gz
ntlm_auth: Avoid some statics
Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
-rw-r--r--source3/utils/ntlm_auth.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/source3/utils/ntlm_auth.c b/source3/utils/ntlm_auth.c
index 4f67b903246..9888dbc1791 100644
--- a/source3/utils/ntlm_auth.c
+++ b/source3/utils/ntlm_auth.c
@@ -2255,12 +2255,12 @@ enum {
{
TALLOC_CTX *frame = talloc_stackframe();
int opt;
- static const char *helper_protocol;
- static int diagnostics;
+ const char *helper_protocol = NULL;
+ int diagnostics = 0;
- static const char *hex_challenge;
- static const char *hex_lm_response;
- static const char *hex_nt_response;
+ const char *hex_challenge = NULL;
+ const char *hex_lm_response = NULL;
+ const char *hex_nt_response = NULL;
struct loadparm_context *lp_ctx;
poptContext pc;