From 5b6d9d4376ff163a4ee4b4e7a7939c56e5394ffb Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Tue, 11 Nov 1997 02:38:54 +0000 Subject: fixed a bug which caused nmbd to core dump. The problem was incorrect parameters to cli_NetServerEnum() (This used to be commit 628d5895aa8a6add1a76bcf2561d01881b7c8c63) --- source3/libsmb/clientgen.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source3/libsmb') diff --git a/source3/libsmb/clientgen.c b/source3/libsmb/clientgen.c index b98f2fca69..66d54a9b99 100644 --- a/source3/libsmb/clientgen.c +++ b/source3/libsmb/clientgen.c @@ -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, -- cgit