summaryrefslogtreecommitdiff
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
commit75eae84b1c90f9874dd4e6ef34fd6fd72322689a (patch)
tree0633dc78c9b03c968639d58db878157f7039c3c3
parent4a273d209b8e588ccadb37bb316830bc251c5adf (diff)
downloadsamba-75eae84b1c90f9874dd4e6ef34fd6fd72322689a.tar.gz
samba-75eae84b1c90f9874dd4e6ef34fd6fd72322689a.tar.bz2
samba-75eae84b1c90f9874dd4e6ef34fd6fd72322689a.zip
string terminate in mkdir
(This used to be commit fe414d5e1afdfe7bb20ff5da60394ffd9fa81b05)
-rw-r--r--source3/libsmb/clifile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/libsmb/clifile.c b/source3/libsmb/clifile.c
index 66be21e3c5..b1be4aafc5 100644
--- a/source3/libsmb/clifile.c
+++ b/source3/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);