summaryrefslogtreecommitdiff
path: root/source3/nmbsync.c
diff options
context:
space:
mode:
authorLuke Leighton <lkcl@samba.org>1997-10-23 17:54:21 +0000
committerLuke Leighton <lkcl@samba.org>1997-10-23 17:54:21 +0000
commit310536a709ccbfbcb3148f5662d5e89da993f7cd (patch)
treeb22a2eff76455c8fd03dbdae222c5cd6b3827259 /source3/nmbsync.c
parent203c93e9221bfa71a00165f251695cafb92f035b (diff)
downloadsamba-310536a709ccbfbcb3148f5662d5e89da993f7cd.tar.gz
samba-310536a709ccbfbcb3148f5662d5e89da993f7cd.tar.bz2
samba-310536a709ccbfbcb3148f5662d5e89da993f7cd.zip
missed nmbsync.c when adding setup count and setup pointer arguments to
cli_call_api(). sorting this for jeremy. there is a discrepancy between the client.c list_servers() and the nmbsync.c add_info() calls to cli_call_api() - one has an mdrcount of 1024, the other of zero. i don't know what difference this makes. (This used to be commit d8c265c515985414962bb5187c9f92d016281dcc)
Diffstat (limited to 'source3/nmbsync.c')
-rw-r--r--source3/nmbsync.c11
1 files changed, 8 insertions, 3 deletions
diff --git a/source3/nmbsync.c b/source3/nmbsync.c
index e6061c0a0f..c922c8b833 100644
--- a/source3/nmbsync.c
+++ b/source3/nmbsync.c
@@ -82,9 +82,14 @@ static BOOL add_info(struct subnet_record *d, struct work_record *work, int serv
pstrcpy(p, work->work_group);
p = skip_string(p,1);
- if (cli_call_api(PIPE_LANMAN, PTR_DIFF(p,param),0, 8,
- BUFFER_SIZE - SAFETY_MARGIN,
- &rprcnt,&rdrcnt, param,NULL,
+ if (cli_call_api(PIPE_LANMAN,
+ PTR_DIFF(p,param), /* param count */
+ 8, /*data count */,
+ 0, /* setup count */,
+ 0, /* mprcount - whatever that is */
+ BUFFER_SIZE - SAFETY_MARGIN, /* mdrcount - whatever that is */
+ &rprcnt,&rdrcnt,
+ param,NULL, NULL,
&rparam,&rdata))
{
int res = SVAL(rparam,0);