summaryrefslogtreecommitdiff
path: root/source3/libsmb/cliconnect.c
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2001-08-24 19:52:01 +0000
committerTim Potter <tpot@samba.org>2001-08-24 19:52:01 +0000
commit705fb73e5083b40bee0d3428337051b689368337 (patch)
treef19679a8e63d8a3e4886fb36e6cc06eed11b37ef /source3/libsmb/cliconnect.c
parentb34d17e49811df341054038ebb01734c9c83623c (diff)
downloadsamba-705fb73e5083b40bee0d3428337051b689368337.tar.gz
samba-705fb73e5083b40bee0d3428337051b689368337.tar.bz2
samba-705fb73e5083b40bee0d3428337051b689368337.zip
Fixed debug in cli_establish_connection() - print out the called name on
connection failure rather than the calling name. (This used to be commit 946f6eb9320c9897942adee8b513d8caaa3232c0)
Diffstat (limited to 'source3/libsmb/cliconnect.c')
-rw-r--r--source3/libsmb/cliconnect.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/libsmb/cliconnect.c b/source3/libsmb/cliconnect.c
index 31b3541376..1628139dd9 100644
--- a/source3/libsmb/cliconnect.c
+++ b/source3/libsmb/cliconnect.c
@@ -687,7 +687,7 @@ BOOL cli_establish_connection(struct cli_state *cli,
if (!cli_connect(cli, dest_host, dest_ip))
{
DEBUG(1,("cli_establish_connection: failed to connect to %s (%s)\n",
- nmb_namestr(calling), inet_ntoa(*dest_ip)));
+ nmb_namestr(called), inet_ntoa(*dest_ip)));
return False;
}
}