From: Tim Potter Date: Fri, 24 Aug 2001 19:52:01 +0000 (+0000) Subject: Fixed debug in cli_establish_connection() - print out the called name on X-Git-Tag: samba-4.0.0alpha6~801^2~17515 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=705fb73e5083b40bee0d3428337051b689368337;p=thirdparty%2Fsamba.git 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) --- diff --git a/source3/libsmb/cliconnect.c b/source3/libsmb/cliconnect.c index 31b35413762..1628139dd92 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; } }