From 946f6eb9320c9897942adee8b513d8caaa3232c0 Mon Sep 17 00:00:00 2001 From: Tim Potter Date: Fri, 24 Aug 2001 19:52:01 +0000 Subject: Fixed debug in cli_establish_connection() - print out the called name on connection failure rather than the calling name. --- source/libsmb/cliconnect.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } } -- cgit