The branch, v3-3-test has been updated
       via  f9ecc1971b78b7ffc2d5c1a47ff7265916003bfd (commit)
      from  7385e842292469beaa699fafd8139506a3856b7f (commit)

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-3-test


- Log -----------------------------------------------------------------
commit f9ecc1971b78b7ffc2d5c1a47ff7265916003bfd
Author: Kai Blin <[EMAIL PROTECTED]>
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 12b10ba..26cf6b0 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

Reply via email to