summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2003-05-12 01:49:03 +0000
committerAndrew Bartlett <abartlet@samba.org>2003-05-12 01:49:03 +0000
commit69306dcdd974c53a1258d5e7aaf63e09a6c35ed5 (patch)
treeb9ca1ac4bd800c752f23ee650ba9d1749373fa3f
parente102cdf58eb19e3d375f2ef02c0f7a4f340f4970 (diff)
downloadsamba-69306dcdd974c53a1258d5e7aaf63e09a6c35ed5.tar.gz
samba-69306dcdd974c53a1258d5e7aaf63e09a6c35ed5.tar.bz2
samba-69306dcdd974c53a1258d5e7aaf63e09a6c35ed5.zip
Fix up a bit of my sloppy C.
(This used to be commit f67cc24acf37a9f46427c993574ecf261d7aec1a)
-rw-r--r--source3/utils/ntlm_auth.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/source3/utils/ntlm_auth.c b/source3/utils/ntlm_auth.c
index cb6d053541..c619936f68 100644
--- a/source3/utils/ntlm_auth.c
+++ b/source3/utils/ntlm_auth.c
@@ -408,11 +408,10 @@ static BOOL check_auth_crap(void)
char *hex_lm_key;
char *hex_nt_key;
char *error_string;
-
- x_setbuf(x_stdout, NULL);
-
static uint8 zeros[16];
+ x_setbuf(x_stdout, NULL);
+
if (request_lm_key)
flags |= WINBIND_PAM_LMKEY;