diff options
-rw-r--r-- | source4/client/client.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/client/client.c b/source4/client/client.c index 2a2c8ac5a3..ee499d24bb 100644 --- a/source4/client/client.c +++ b/source4/client/client.c @@ -872,7 +872,7 @@ static void do_mget(struct smbclient_context *ctx, struct clilist_file_info *fin talloc_free(quest); if (!(finfo->attrib & FILE_ATTRIBUTE_DIRECTORY)) { - rname = talloc_asprintf(&ctx, "%s%s",ctx->remote_cur_dir, + rname = talloc_asprintf(ctx, "%s%s",ctx->remote_cur_dir, finfo->name); do_get(ctx, rname, finfo->name, false); talloc_free(rname); |