[SCM] Samba Shared Repository - branch master updated

Volker Lendecke vlendec at samba.org
Fri May 20 02:52:02 MDT 2011


The branch, master has been updated
       via  d432c7e s3: Remove unused cli_setup_packet()
      from  a2f4309 torture-dfs: fix a typo that was causing the test to be flacky

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master


- Log -----------------------------------------------------------------
commit d432c7e27866c4b3f53bb4c2b2e8cc9bf48b9e3d
Author: Volker Lendecke <vl at samba.org>
Date:   Fri May 20 08:36:46 2011 +0200

    s3: Remove unused cli_setup_packet()
    
    Autobuild-User: Volker Lendecke <vlendec at samba.org>
    Autobuild-Date: Fri May 20 10:51:36 CEST 2011 on sn-devel-104

-----------------------------------------------------------------------

Summary of changes:
 source3/libsmb/clientgen.c |    5 -----
 source3/libsmb/proto.h     |    1 -
 2 files changed, 0 insertions(+), 6 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source3/libsmb/clientgen.c b/source3/libsmb/clientgen.c
index ec0965f..5a1ac82 100644
--- a/source3/libsmb/clientgen.c
+++ b/source3/libsmb/clientgen.c
@@ -417,11 +417,6 @@ void cli_setup_packet_buf(struct cli_state *cli, char *buf)
 	SSVAL(buf,smb_flg2, flags2);
 }
 
-void cli_setup_packet(struct cli_state *cli)
-{
-	cli_setup_packet_buf(cli, cli->outbuf);
-}
-
 /****************************************************************************
  Setup the bcc length of the packet from a pointer to the end of the data.
 ****************************************************************************/
diff --git a/source3/libsmb/proto.h b/source3/libsmb/proto.h
index 4ac767c..03f3ed9 100644
--- a/source3/libsmb/proto.h
+++ b/source3/libsmb/proto.h
@@ -157,7 +157,6 @@ bool cli_state_seqnum_remove(struct cli_state *cli,
 bool cli_receive_smb(struct cli_state *cli);
 bool cli_send_smb(struct cli_state *cli);
 void cli_setup_packet_buf(struct cli_state *cli, char *buf);
-void cli_setup_packet(struct cli_state *cli);
 void cli_setup_bcc(struct cli_state *cli, void *p);
 NTSTATUS cli_set_domain(struct cli_state *cli, const char *domain);
 NTSTATUS cli_set_username(struct cli_state *cli, const char *username);


-- 
Samba Shared Repository


More information about the samba-cvs mailing list