Display nicer message when server name could not be resolved.
authorTim Potter <tpot@samba.org>
Sun, 6 Jan 2002 03:24:51 +0000 (03:24 +0000)
committerTim Potter <tpot@samba.org>
Sun, 6 Jan 2002 03:24:51 +0000 (03:24 +0000)
(This used to be commit 950d8e365626ecbd82e9ee965dc1724dc50c64a4)

source3/rpcclient/rpcclient.c

index 7b98d680a18f4e4d6f7fe5c176186a3d4e53f0fd..79ab44513d01b31467c030cb99350fc3f1f45c73 100644 (file)
@@ -659,10 +659,10 @@ static void usage(void)
        get_myname((*global_myname)?NULL:global_myname);
        strupper(global_myname);
 
-       
-       /* resolve the IP address */
+       /* Resolve the IP address */
+
        if (!resolve_name(server, &server_ip, 0x20))  {
-               DEBUG(1,("Unable to resolve server name\n"));
+               DEBUG(1,("Unable to resolve %s\n", server));
                return 1;
        }