fixed a bug which caused nmbd to core dump. The problem was incorrect
authorAndrew Tridgell <tridge@samba.org>
Tue, 11 Nov 1997 02:38:54 +0000 (02:38 +0000)
committerAndrew Tridgell <tridge@samba.org>
Tue, 11 Nov 1997 02:38:54 +0000 (02:38 +0000)
parameters to cli_NetServerEnum()
(This used to be commit 628d5895aa8a6add1a76bcf2561d01881b7c8c63)

source3/libsmb/clientgen.c

index b98f2fca69a2555effa8e9e6344eb30b2e8165ec..66d54a9b99a145dc8da9b2a90e12b1982d3b6957 100644 (file)
@@ -352,8 +352,8 @@ BOOL cli_NetServerEnum(struct cli_state *cli, char *workgroup, uint32 stype,
        
        if (cli_api(cli, 
                    PTR_DIFF(p,param), /* param count */
-                   8, /*data count */
-                   0, /* mprcount */
+                   0, /*data count */
+                   8, /* mprcount */
                    BUFFER_SIZE, /* mdrcount */
                    &rprcnt,&rdrcnt,
                    param, NULL,