]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
Fixed debug in cli_establish_connection() - print out the called name on
authorTim Potter <tpot@samba.org>
Fri, 24 Aug 2001 19:52:01 +0000 (19:52 +0000)
committerTim Potter <tpot@samba.org>
Fri, 24 Aug 2001 19:52:01 +0000 (19:52 +0000)
connection failure rather than the calling name.
(This used to be commit 946f6eb9320c9897942adee8b513d8caaa3232c0)

source3/libsmb/cliconnect.c

index 31b354137622c2bf8f074a0b22472745336ca86c..1628139dd92bf85ab9be66bd4b8d760265bfecd6 100644 (file)
@@ -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;
                }
        }