From 56c6ab70fb07f57ea9af85c970784a4192035f43 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Thu, 21 Sep 2006 00:30:47 +0000 Subject: [PATCH] r18760: Fix typos, remove unneeded code --- source/smbd/negprot.c | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/source/smbd/negprot.c b/source/smbd/negprot.c index 3347008cdf8..4362bb54671 100644 --- a/source/smbd/negprot.c +++ b/source/smbd/negprot.c @@ -33,7 +33,8 @@ static void get_challenge(char buff[8]) NTSTATUS nt_status; const uint8 *cryptkey; - /* We might be called more than once, muliple negprots are premitted */ + /* We might be called more than once, multiple negprots are + * permitted */ if (negprot_global_auth_context) { DEBUG(3, ("get challenge: is this a secondary negprot? negprot_global_auth_context is non-NULL!\n")); (negprot_global_auth_context->free)(&negprot_global_auth_context); @@ -190,15 +191,6 @@ static int negprot_spnego(char *p, uint8 *pkeylen) push_ascii_nstring(dos_name, unix_name); safe_strcpy(guid, dos_name, sizeof(guid)-1); -#ifdef DEVELOPER - /* valgrind fixer... */ - { - size_t sl = strlen(guid); - if (sizeof(guid)-sl) - memset(&guid[sl], '\0', sizeof(guid)-sl); - } -#endif - /* strangely enough, NT does not sent the single OID NTLMSSP when not a ADS member, it sends no OIDs at all -- 2.11.4.GIT