]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
r22043: Comparing lanman.c with -r22013 is now MUCH easier, thanks! This looks much
authorVolker Lendecke <vlendec@samba.org>
Mon, 2 Apr 2007 19:46:27 +0000 (19:46 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 17:19:05 +0000 (12:19 -0500)
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

source/smbd/lanman.c

index 03411b8dd9fcba32d88dca7aad63bcaa1bae6cc6..f7fe9654300980d50592d67c065712f622b8a886 100644 (file)
@@ -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));