diff options
Diffstat (limited to 'source3')
-rw-r--r-- | source3/client/client.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/source3/client/client.c b/source3/client/client.c index b0b3e8e19b..a285bccfe7 100644 --- a/source3/client/client.c +++ b/source3/client/client.c @@ -4102,11 +4102,7 @@ static void completion_remote_filter(const char *mnt, TALLOC_CTX *ctx = talloc_stackframe(); char *tmp; - if (info->dirmask && info->dirmask[0] != 0) { - tmp = talloc_strdup(ctx,info->dirmask); - } else { - tmp = talloc_strdup(ctx,""); - } + tmp = talloc_strdup(ctx,info->dirmask); if (!tmp) { TALLOC_FREE(ctx); return; |