summaryrefslogtreecommitdiffstats
path: root/source
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2001-08-21 03:50:31 +0000
committerAndrew Tridgell <tridge@samba.org>2001-08-21 03:50:31 +0000
commitfe414d5e1afdfe7bb20ff5da60394ffd9fa81b05 (patch)
tree704ff23fe5827a0cfed378f2cc45eca1bbdbec89 /source
parentafaafc3e5a2adef4736196aa5f4e6ca25a0571d2 (diff)
downloadsamba-fe414d5e1afdfe7bb20ff5da60394ffd9fa81b05.tar.gz
samba-fe414d5e1afdfe7bb20ff5da60394ffd9fa81b05.tar.xz
samba-fe414d5e1afdfe7bb20ff5da60394ffd9fa81b05.zip
string terminate in mkdir
Diffstat (limited to 'source')
-rw-r--r--source/libsmb/clifile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/libsmb/clifile.c b/source/libsmb/clifile.c
index 66be21e3c5b..b1be4aafc55 100644
--- a/source/libsmb/clifile.c
+++ b/source/libsmb/clifile.c
@@ -116,7 +116,7 @@ BOOL cli_mkdir(struct cli_state *cli, char *dname)
p = smb_buf(cli->outbuf);
*p++ = 4;
- p += clistr_push(cli, p, dname, -1, 0);
+ p += clistr_push(cli, p, dname, -1, STR_TERMINATE);
cli_setup_bcc(cli, p);