diff options
author | Herb Lewis <herb@samba.org> | 2003-08-14 21:56:26 +0000 |
---|---|---|
committer | Herb Lewis <herb@samba.org> | 2003-08-14 21:56:26 +0000 |
commit | 2efe201fa4082f0aad7360b9f6f21c7683a29e96 (patch) | |
tree | 734b788772b12e5a322ab002c6674f93dae1701b /source4/client | |
parent | a19e269c2c401766fe0e44ea0a1daaad14f06f70 (diff) | |
download | samba-2efe201fa4082f0aad7360b9f6f21c7683a29e96.tar.gz samba-2efe201fa4082f0aad7360b9f6f21c7683a29e96.tar.bz2 samba-2efe201fa4082f0aad7360b9f6f21c7683a29e96.zip |
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)
Diffstat (limited to 'source4/client')
-rw-r--r-- | source4/client/client.c | 6 |
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); |