summaryrefslogtreecommitdiff
path: root/source3/libsmb/clientgen.c
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>1998-10-08 06:49:00 +0000
committerAndrew Tridgell <tridge@samba.org>1998-10-08 06:49:00 +0000
commita813f38e2dc894b548c23dea2bef98cef7d4f4e9 (patch)
tree1644c23d26b8a94fa3d8a7994654671c7e0f88f9 /source3/libsmb/clientgen.c
parent788263ba2f749c5bb1546ca6c9363fd508e94280 (diff)
downloadsamba-a813f38e2dc894b548c23dea2bef98cef7d4f4e9.tar.gz
samba-a813f38e2dc894b548c23dea2bef98cef7d4f4e9.tar.bz2
samba-a813f38e2dc894b548c23dea2bef98cef7d4f4e9.zip
- don't generate 0 params in torture
- handle 0 params in ipc.c (This used to be commit c0dc8e87f0d56444a8ddff0817a94065ca295847)
Diffstat (limited to 'source3/libsmb/clientgen.c')
-rw-r--r--source3/libsmb/clientgen.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/libsmb/clientgen.c b/source3/libsmb/clientgen.c
index d454cbdd3c..8aa857df8a 100644
--- a/source3/libsmb/clientgen.c
+++ b/source3/libsmb/clientgen.c
@@ -432,9 +432,9 @@ BOOL cli_NetWkstaUserLogon(struct cli_state *cli,char *user, char *workstation)
pstrcpy(p,user);
strupper(p);
p += 21;
- p++;
- p += 15;
- p++;
+ p++;
+ p += 15;
+ p++;
pstrcpy(p, workstation);
strupper(p);
p += 16;