From 7371762dae1127117470c436ad0e3521f4bd4a35 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Mon, 2 Apr 2007 19:46:27 +0000 Subject: r22043: Comparing lanman.c with -r22013 is now MUCH easier, thanks! This looks much easier to review! Damn close to what I had in my tree, just the fn names were slightly different. This removes one unnecessary dupe. Next thing is to get rid of the parameter "n" of skip_string, there is only one (!) caller that does not pass in 1.... Volker (This used to be commit 2878c1e93a8d71288fa3144cff57bce66c592e22) --- source3/smbd/lanman.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/source3/smbd/lanman.c b/source3/smbd/lanman.c index 03411b8dd9..f7fe965430 100644 --- a/source3/smbd/lanman.c +++ b/source3/smbd/lanman.c @@ -921,9 +921,6 @@ static BOOL api_DosPrintQEnum(connection_struct *conn, uint16 vuid, return False; } - uLevel = SVAL(p,0); - output_format2 = p + 4; - memset((char *)&desc,'\0',sizeof(desc)); DEBUG(3,("DosPrintQEnum uLevel=%d\n",uLevel)); -- cgit