diff options
Diffstat (limited to 'source')
-rw-r--r-- | source/libsmb/clifile.c | 2 |
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); |