summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Leighton <lkcl@samba.org>1999-08-03 18:03:08 +0000
committerLuke Leighton <lkcl@samba.org>1999-08-03 18:03:08 +0000
commit9c593512155a4e1d9eb01ac63d4458df59b7357d (patch)
treea844191d8d067e501eb76195934cb30b9c3ac6c5
parentebfa9fa928c7efc2313deb576373da7c536a2aad (diff)
downloadsamba-9c593512155a4e1d9eb01ac63d4458df59b7357d.tar.gz
samba-9c593512155a4e1d9eb01ac63d4458df59b7357d.tar.bz2
samba-9c593512155a4e1d9eb01ac63d4458df59b7357d.zip
bug-fix in connection to port 445. cool! it works!
(This used to be commit 062b9302c1c7a21df74571ead5f89ce002820d53)
-rw-r--r--source3/libsmb/clientgen.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/libsmb/clientgen.c b/source3/libsmb/clientgen.c
index 1913ccd79b..ecab198c94 100644
--- a/source3/libsmb/clientgen.c
+++ b/source3/libsmb/clientgen.c
@@ -2526,6 +2526,7 @@ BOOL cli_connect(struct cli_state *cli, const char *host, struct in_addr *ip)
if (cli->fd == -1) return False;
}
+ cli->port = port;
return True;
}