diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2003-05-26 19:51:50 +0000 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2003-05-26 19:51:50 +0000 |
commit | b9b651d3c7c448603bf6bacfa61a0cb9f8ac1c40 (patch) | |
tree | 734768bd6188e2e58c3a7af788ae30f528871bba /source3/libsmb | |
parent | 2bd980585458be49ff924fd2544a337a34f596bb (diff) | |
download | samba-b9b651d3c7c448603bf6bacfa61a0cb9f8ac1c40.tar.gz samba-b9b651d3c7c448603bf6bacfa61a0cb9f8ac1c40.tar.bz2 samba-b9b651d3c7c448603bf6bacfa61a0cb9f8ac1c40.zip |
Fix list of servers in 'smbclient -L' (debian bug #194553, patch by Heine Larsen)
(This used to be commit c9c8eccdba820e82e1f987f9078d882668a8061b)
Diffstat (limited to 'source3/libsmb')
-rw-r--r-- | source3/libsmb/clirap.c | 2 |
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 */ |