From 7cb4e4b099cef0be3a7440bd5feb8b3d0c3c5f18 Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Wed, 24 Dec 1997 04:32:01 +0000 Subject: Bugfix from Branko Cibej - client.c had a workaround embedded in it for his earlier bug in StrnCaseCmp - removed this. Jeremy. --- source/client/client.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/client/client.c b/source/client/client.c index 996678225ed..e5fa3a4bf71 100644 --- a/source/client/client.c +++ b/source/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; -- cgit v1.2.1