summaryrefslogtreecommitdiffstats
path: root/source/client/smbmount.c
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2001-09-10 11:08:57 +0000
committerAndrew Tridgell <tridge@samba.org>2001-09-10 11:08:57 +0000
commit1af8bf34f1caa3e7ec312d8109c07d32a945a448 (patch)
tree00f3f2d6778554ba273b73ae82f8790b43e56374 /source/client/smbmount.c
parenta7842fac94a3f772da0e6ddf14044df24af798a9 (diff)
downloadsamba-1af8bf34f1caa3e7ec312d8109c07d32a945a448.tar.gz
samba-1af8bf34f1caa3e7ec312d8109c07d32a945a448.tar.xz
samba-1af8bf34f1caa3e7ec312d8109c07d32a945a448.zip
replaced stdio in many parts of samba with a XFILE. XFILE is a cut-down
replacemnt of stdio that doesn't suffer from the 8-bit filedescriptor limit that we hit with nasty consequences on some systems I would eventually prefer us to have a configure test to see if we need to replace stdio, but for now this code needs to be tested widely so I'm enabling it by default.
Diffstat (limited to 'source/client/smbmount.c')
-rw-r--r--source/client/smbmount.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/client/smbmount.c b/source/client/smbmount.c
index 71c7e298106..a87eb789ef7 100644
--- a/source/client/smbmount.c
+++ b/source/client/smbmount.c
@@ -148,7 +148,7 @@ static struct cli_state *do_connection(char *service)
if (have_ip) ip = dest_ip;
/* have to open a new connection */
- if (!(c=cli_initialise(NULL)) || (cli_set_port(c, smb_port) != port) ||
+ if (!(c=cli_initialise(NULL)) || (cli_set_port(c, smb_port) != smb_port) ||
!cli_connect(c, server_n, &ip)) {
DEBUG(0,("%d: Connection to %s failed\n", getpid(), server_n));
if (c) {