summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>1997-12-24 04:32:01 +0000
committerJeremy Allison <jra@samba.org>1997-12-24 04:32:01 +0000
commit5f38824696c86c35f3f0a98af8e6d623c3d2fcb3 (patch)
treefe21a9acb78e0775bdd8aa8df2ef894e792da5eb
parent6f429912e7a2d8c3f83a92adb914cd89a55af43d (diff)
downloadsamba-5f38824696c86c35f3f0a98af8e6d623c3d2fcb3.tar.gz
samba-5f38824696c86c35f3f0a98af8e6d623c3d2fcb3.tar.bz2
samba-5f38824696c86c35f3f0a98af8e6d623c3d2fcb3.zip
Bugfix from Branko Cibej <branko.cibej@hermes.si>
- client.c had a workaround embedded in it for his earlier bug in StrnCaseCmp - removed this. Jeremy. (This used to be commit 7cb4e4b099cef0be3a7440bd5feb8b3d0c3c5f18)
-rw-r--r--source3/client/client.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/client/client.c b/source3/client/client.c
index 996678225e..e5fa3a4bf7 100644
--- a/source3/client/client.c
+++ b/source3/client/client.c
@@ -3250,7 +3250,7 @@ static int process_tok(fstring tok)
cmd = i;
break;
}
- else if (strnequal(commands[i].name, tok, tok_len+1))
+ else if (strnequal(commands[i].name, tok, tok_len))
{
matches++;
cmd = i;