summaryrefslogtreecommitdiff
path: root/source3/libsmb/clientgen.c
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2011-07-11 16:37:25 +0200
committerStefan Metzmacher <metze@samba.org>2011-07-11 16:39:15 +0200
commit2b70c0f4f39d2ab7e678e91bc57a2e5980dbc816 (patch)
treea5a1b08b2c7c80801c5d85639b0cd646c5dce62d /source3/libsmb/clientgen.c
parent893d137f3f426e7b91542cc50b6c1ef8d69643f0 (diff)
downloadsamba-2b70c0f4f39d2ab7e678e91bc57a2e5980dbc816.tar.gz
samba-2b70c0f4f39d2ab7e678e91bc57a2e5980dbc816.tar.bz2
samba-2b70c0f4f39d2ab7e678e91bc57a2e5980dbc816.zip
s3:libsmb: remove unused cli_set_port()
metze
Diffstat (limited to 'source3/libsmb/clientgen.c')
-rw-r--r--source3/libsmb/clientgen.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/source3/libsmb/clientgen.c b/source3/libsmb/clientgen.c
index 2380ceb32c..bcb1215579 100644
--- a/source3/libsmb/clientgen.c
+++ b/source3/libsmb/clientgen.c
@@ -51,15 +51,6 @@ unsigned int cli_set_timeout(struct cli_state *cli, unsigned int timeout)
}
/****************************************************************************
- Change the port number used to call on.
-****************************************************************************/
-
-void cli_set_port(struct cli_state *cli, int port)
-{
- cli->port = port;
-}
-
-/****************************************************************************
convenience routine to find if we negotiated ucs2
****************************************************************************/
@@ -191,7 +182,6 @@ struct cli_state *cli_initialise_ex(int signing_state)
if (!cli->dfs_mountpoint) {
goto error;
}
- cli->port = 0;
cli->fd = -1;
cli->raw_status = NT_STATUS_INTERNAL_ERROR;
cli->cnum = -1;