git.samba.org
/
kai
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
109a174
)
Missed a cli_set_port on message code connect.
author
Jeremy Allison
<jra@samba.org>
Mon, 26 Mar 2001 22:28:12 +0000
(22:28 +0000)
committer
Jeremy Allison
<jra@samba.org>
Mon, 26 Mar 2001 22:28:12 +0000
(22:28 +0000)
Jeremy.
source/client/client.c
patch
|
blob
|
history
diff --git
a/source/client/client.c
b/source/client/client.c
index 059bde3c4186cc2ef8127aea156976551085da2e..04a30ffb212bb71b581d4221aa2d325fd3940f82 100644
(file)
--- a/
source/client/client.c
+++ b/
source/client/client.c
@@
-2157,7
+2157,7
@@
static int do_message_op(void)
ip = ipzero;
if (have_ip) ip = dest_ip;
- if (!(cli=cli_initialise(NULL)) || !cli_connect(cli, desthost, &ip)) {
+ if (!(cli=cli_initialise(NULL)) ||
(cli_set_port(cli, port) == 0) ||
!cli_connect(cli, desthost, &ip)) {
DEBUG(0,("Connection to %s failed\n", desthost));
return 1;
}