diff options
Diffstat (limited to 'source3/nmbsync.c')
-rw-r--r-- | source3/nmbsync.c | 11 |
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); |