summaryrefslogtreecommitdiff
path: root/source3/libsmb/clientgen.c
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2009-01-14 16:08:19 -0800
committerJeremy Allison <jra@samba.org>2009-01-14 16:08:19 -0800
commit907f085296e4c61410a7a0e2cfcd6a9db8176b16 (patch)
tree315254d40cfc716372a4641a089df8aaac78cbfd /source3/libsmb/clientgen.c
parent592ee76341de2936b1171ddb391a65a84836c95d (diff)
downloadsamba-907f085296e4c61410a7a0e2cfcd6a9db8176b16.tar.gz
samba-907f085296e4c61410a7a0e2cfcd6a9db8176b16.tar.bz2
samba-907f085296e4c61410a7a0e2cfcd6a9db8176b16.zip
Remove smbclient globals that bled into clidfs.c. Now we only have
the connections list and authentication structures to worry about. Jeremy
Diffstat (limited to 'source3/libsmb/clientgen.c')
-rw-r--r--source3/libsmb/clientgen.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/source3/libsmb/clientgen.c b/source3/libsmb/clientgen.c
index fd5627d763..0bec24202c 100644
--- a/source3/libsmb/clientgen.c
+++ b/source3/libsmb/clientgen.c
@@ -50,10 +50,9 @@ unsigned int cli_set_timeout(struct cli_state *cli, unsigned int timeout)
Change the port number used to call on.
****************************************************************************/
-int cli_set_port(struct cli_state *cli, int port)
+void cli_set_port(struct cli_state *cli, int port)
{
cli->port = port;
- return port;
}
/****************************************************************************