summaryrefslogtreecommitdiff
path: root/source3/libsmb
diff options
context:
space:
mode:
authorVolker Lendecke <vlendec@samba.org>2003-03-10 16:59:29 +0000
committerVolker Lendecke <vlendec@samba.org>2003-03-10 16:59:29 +0000
commit06c4d9a8ff4373227ba6a418b8af627aaddbc4d0 (patch)
treee375e006fbd36306c07368fa594b416188351b94 /source3/libsmb
parent683c17ac0dfce64e7cfcafbc640b18ea4610f021 (diff)
downloadsamba-06c4d9a8ff4373227ba6a418b8af627aaddbc4d0.tar.gz
samba-06c4d9a8ff4373227ba6a418b8af627aaddbc4d0.tar.bz2
samba-06c4d9a8ff4373227ba6a418b8af627aaddbc4d0.zip
Some conversion to pstrcpy_base.
Volker (This used to be commit 329911e43681b724cb0579aad77b4a658759d7ba)
Diffstat (limited to 'source3/libsmb')
-rw-r--r--source3/libsmb/clirap.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/source3/libsmb/clirap.c b/source3/libsmb/clirap.c
index 24108d40f3..a1845b2e16 100644
--- a/source3/libsmb/clirap.c
+++ b/source3/libsmb/clirap.c
@@ -85,19 +85,19 @@ BOOL cli_NetWkstaUserLogon(struct cli_state *cli,char *user, char *workstation)
p = param;
SSVAL(p,0,132); /* api number */
p += 2;
- pstrcpy(p,"OOWb54WrLh");
+ pstrcpy_base(p,"OOWb54WrLh",param);
p = skip_string(p,1);
- pstrcpy(p,"WB21BWDWWDDDDDDDzzzD");
+ pstrcpy_base(p,"WB21BWDWWDDDDDDDzzzD",param);
p = skip_string(p,1);
SSVAL(p,0,1);
p += 2;
- pstrcpy(p,user);
+ pstrcpy_base(p,user,param);
strupper(p);
p += 21;
p++;
p += 15;
p++;
- pstrcpy(p, workstation);
+ pstrcpy_base(p, workstation, param);
strupper(p);
p += 16;
SSVAL(p, 0, CLI_BUFFER_SIZE);
@@ -145,9 +145,9 @@ int cli_RNetShareEnum(struct cli_state *cli, void (*fn)(const char *, uint32, co
p = param;
SSVAL(p,0,0); /* api number */
p += 2;
- pstrcpy(p,"WrLeh");
+ pstrcpy_base(p,"WrLeh",param);
p = skip_string(p,1);
- pstrcpy(p,"B13BWz");
+ pstrcpy_base(p,"B13BWz",param);
p = skip_string(p,1);
SSVAL(p,0,1);
/*