summaryrefslogtreecommitdiff
path: root/source3/utils/ntlm_auth.c
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2004-07-25 13:11:39 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 10:52:15 -0500
commit2b90927fa38e155a3ceede971da7968bdd59e762 (patch)
treec8f4e5a43ff20d5561692d40b078e7cd6cb9d131 /source3/utils/ntlm_auth.c
parent2a6ab279559da7e79229461c39c2c2bf09bb5ca8 (diff)
downloadsamba-2b90927fa38e155a3ceede971da7968bdd59e762.tar.gz
samba-2b90927fa38e155a3ceede971da7968bdd59e762.tar.bz2
samba-2b90927fa38e155a3ceede971da7968bdd59e762.zip
r1582: On failure, print the length of the right variable.
Andrew Bartlett (This used to be commit 5bd6abb54e12aee2031d48bc5b240bb4f127bf5a)
Diffstat (limited to 'source3/utils/ntlm_auth.c')
-rw-r--r--source3/utils/ntlm_auth.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/utils/ntlm_auth.c b/source3/utils/ntlm_auth.c
index fd8424065c..4d369630ab 100644
--- a/source3/utils/ntlm_auth.c
+++ b/source3/utils/ntlm_auth.c
@@ -1557,7 +1557,7 @@ static void manage_ntlm_server_1_request(enum stdio_helper_mode stdio_helper_mod
if (nt_response.length < 24) {
x_fprintf(x_stdout, "Error: hex decode of %s failed! (only got %d bytes, needed at least 24)\n.\n",
parameter,
- (int)opt_nt_response.length);
+ (int)nt_response.length);
nt_response = data_blob(NULL, 0);
}
} else if (strequal(request, "LANMAN-Response")) {