summaryrefslogtreecommitdiffstats
path: root/source
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
commit946f6eb9320c9897942adee8b513d8caaa3232c0 (patch)
tree2be6923b26b756c7f8c4f149af1b732ce7a5726e /source
parent8fbd1d0f978a349ec4fcc0d34fca55314d3dec31 (diff)
downloadsamba-946f6eb9320c9897942adee8b513d8caaa3232c0.tar.gz
samba-946f6eb9320c9897942adee8b513d8caaa3232c0.tar.xz
samba-946f6eb9320c9897942adee8b513d8caaa3232c0.zip
Fixed debug in cli_establish_connection() - print out the called name on
connection failure rather than the calling name.
Diffstat (limited to 'source')
-rw-r--r--source/libsmb/cliconnect.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/libsmb/cliconnect.c b/source/libsmb/cliconnect.c
index 31b35413762..1628139dd92 100644
--- a/source/libsmb/cliconnect.c
+++ b/source/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;
}
}