summaryrefslogtreecommitdiff
path: root/source4/client
diff options
context:
space:
mode:
Diffstat (limited to 'source4/client')
-rw-r--r--source4/client/client.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/source4/client/client.c b/source4/client/client.c
index 965984313d..7f05774836 100644
--- a/source4/client/client.c
+++ b/source4/client/client.c
@@ -2402,8 +2402,12 @@ static char **remote_completion(const char *text, int len)
{
pstring dirmask;
int i;
- completion_remote_t info = { "", NULL, 1, len, text, len };
+ completion_remote_t info = { "", NULL, 1, NULL, NULL, NULL };
+ info.samelen = len;
+ info.text = text;
+ info.len = len;
+
if (len >= PATH_MAX)
return(NULL);