summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
Diffstat (limited to 'source4')
-rw-r--r--source4/client/client.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source4/client/client.c b/source4/client/client.c
index d7adc41ca1..1cd0e5d063 100644
--- a/source4/client/client.c
+++ b/source4/client/client.c
@@ -2901,7 +2901,8 @@ static char **remote_completion(const char *text, int len)
info.samelen = len;
info.text = text;
info.len = len;
-
+ info.count = 0;
+
if (len >= PATH_MAX)
return(NULL);