From 4f702e4b4463319db6d7638901834611a665b884 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Wed, 16 Nov 2016 15:22:46 +0000 Subject: [PATCH] ntlm_auth: Avoid some statics Signed-off-by: Volker Lendecke Reviewed-by: Jeremy Allison --- source3/utils/ntlm_auth.c | 10 +++++----- 1 file 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; -- 2.11.4.GIT