diff options
author | Volker Lendecke <vl@samba.org> | 2016-11-16 15:22:46 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2016-11-20 17:29:07 +0100 |
commit | 4f702e4b4463319db6d7638901834611a665b884 (patch) | |
tree | dded126bebc11584b0bb666422242c665df249fc | |
parent | df9e7c7ae55da5df1f55be194dff86896897de4a (diff) | |
download | samba-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.c | 10 |
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; |