summaryrefslogtreecommitdiff
path: root/source3/libsmb/clirap.c
diff options
context:
space:
mode:
authorRichard Sharpe <sharpe@samba.org>2003-04-02 18:32:31 +0000
committerRichard Sharpe <sharpe@samba.org>2003-04-02 18:32:31 +0000
commit63f153c808312b806ff855906123bdc3d7f2a1cd (patch)
treefe2a042a513ca34e7d5fdd0ed10cf42bf11fb145 /source3/libsmb/clirap.c
parentd00b6f125fd98d1842cba57c7b509d52470c82d7 (diff)
downloadsamba-63f153c808312b806ff855906123bdc3d7f2a1cd.tar.gz
samba-63f153c808312b806ff855906123bdc3d7f2a1cd.tar.bz2
samba-63f153c808312b806ff855906123bdc3d7f2a1cd.zip
Commit some more fixes for Coolo ...
(This used to be commit e1a159c55fdeaa1620a3147105be4efd205560ba)
Diffstat (limited to 'source3/libsmb/clirap.c')
-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 224c37046c..f05a65762b 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;
- p += push_pstring_base(p, workgroup, param);
+ 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 */