From 2efe201fa4082f0aad7360b9f6f21c7683a29e96 Mon Sep 17 00:00:00 2001 From: Herb Lewis Date: Thu, 14 Aug 2003 21:56:26 +0000 Subject: client/client.c - cannot initialize struct with non-const values include/byteorder.h - fix for IRIX compiler - cannot cast an LVALUE include/smb_interfaces.h - remove empty structure source/lib/debug.c - void functions cannot return value libcli/clifile.c - cannot assign *struct to struct (This used to be commit 9a724762012f55d21d44ea87add7daf21f7414d1) --- source4/client/client.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'source4/client/client.c') 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); -- cgit