From 705fb73e5083b40bee0d3428337051b689368337 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. (This used to be commit 946f6eb9320c9897942adee8b513d8caaa3232c0) --- source3/libsmb/cliconnect.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } } -- cgit