summaryrefslogtreecommitdiff
path: root/source3/client/client.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/client/client.c')
-rw-r--r--source3/client/client.c6
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;