[SCM] Samba Shared Repository - branch v3-2-test updated -
release-3-2-0pre2-3162-gaa26b0a
Jeremy Allison
jra at samba.org
Tue Nov 18 19:26:07 GMT 2008
The branch, v3-2-test has been updated
via aa26b0aa3d913b09ead97c2c0bbfade0dddcd251 (commit)
from 71878cb566aa9edeb85ac134a1ad60cfbc2927fe (commit)
http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-2-test
- Log -----------------------------------------------------------------
commit aa26b0aa3d913b09ead97c2c0bbfade0dddcd251
Author: Kai Blin <kai at samba.org>
Date: Tue Nov 18 16:31:34 2008 +0100
libsmb: Fix up pointer passed to cli_send_trans in cli_link_internal
Seems like this one fell victim to the pstring removal. The other callers seem
to be fine, even though removing the casts would make the code less confusing.
-----------------------------------------------------------------------
Summary of changes:
source/libsmb/clifile.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
Changeset truncated at 500 lines:
diff --git a/source/libsmb/clifile.c b/source/libsmb/clifile.c
index 12c427a..8b4a1be 100644
--- a/source/libsmb/clifile.c
+++ b/source/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);
--
Samba Shared Repository
More information about the samba-cvs
mailing list