summaryrefslogtreecommitdiff
path: root/source3/libsmb
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2003-05-26 19:47:53 +0000
committerJelmer Vernooij <jelmer@samba.org>2003-05-26 19:47:53 +0000
commit62f70d191077dd7bf41f7cdca00cb7b94607323c (patch)
treea1842cf35ccca09817a2289c22d6c02b437bba19 /source3/libsmb
parent02edc621fda8b705185b2c0d7016a99e5c19dca4 (diff)
downloadsamba-62f70d191077dd7bf41f7cdca00cb7b94607323c.tar.gz
samba-62f70d191077dd7bf41f7cdca00cb7b94607323c.tar.bz2
samba-62f70d191077dd7bf41f7cdca00cb7b94607323c.zip
Fix list of servers in 'smbclient -L' (debian bug #194553, patch by Heine Larsen)
(This used to be commit e9df7d2820441c63c35e7b4fc5b3cc594053781c)
Diffstat (limited to 'source3/libsmb')
-rw-r--r--source3/libsmb/clirap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/libsmb/clirap.c b/source3/libsmb/clirap.c
index f05a65762b..9d4411797d 100644
--- a/source3/libsmb/clirap.c
+++ b/source3/libsmb/clirap.c
@@ -233,7 +233,7 @@ BOOL cli_NetServerEnum(struct cli_state *cli, char *workgroup, uint32 stype,
SIVAL(p,0,stype);
p += 4;
- push_ascii(p, workgroup, sizeof(pstring)-PTR_DIFF(p,param)-1, STR_TERMINATE|STR_UPPER);
+ p += push_ascii(p, workgroup, sizeof(pstring)-PTR_DIFF(p,param)-1, STR_TERMINATE|STR_UPPER);
if (cli_api(cli,
param, PTR_DIFF(p,param), 8, /* params, length, max */