diff options
author | Kai Blin <kai@samba.org> | 2008-11-18 11:25:14 -0800 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2008-11-18 11:25:14 -0800 |
commit | 69debd45e56428aceaac607994e61ecd66a73daa (patch) | |
tree | fbfee0d13a51a72fded53afdfd6cf0e2dd5d5d11 /source3 | |
parent | 93fd28a350c1f2652a24daead8ca6e4c8ff696cb (diff) | |
download | samba-69debd45e56428aceaac607994e61ecd66a73daa.tar.gz samba-69debd45e56428aceaac607994e61ecd66a73daa.tar.bz2 samba-69debd45e56428aceaac607994e61ecd66a73daa.zip |
libsmb: Fix up pointer passed to cli_send_trans in cli_link_internal
Diffstat (limited to 'source3')
-rw-r--r-- | source3/libsmb/clifile.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/libsmb/clifile.c b/source3/libsmb/clifile.c index 1c525363f7..a9e81082ea 100644 --- a/source3/libsmb/clifile.c +++ b/source3/libsmb/clifile.c @@ -66,7 +66,7 @@ static bool cli_link_internal(struct cli_state *cli, const char *oldname, const -1, 0, /* fid, flags */ &setup, 1, 0, /* setup, length, max */ param, param_len, 2, /* param, length, max */ - (char *)&data, data_len, cli->max_xmit /* data, length, max */ + data, data_len, cli->max_xmit /* data, length, max */ )) { SAFE_FREE(data); SAFE_FREE(param); |