summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2002-01-06 03:24:51 +0000
committerTim Potter <tpot@samba.org>2002-01-06 03:24:51 +0000
commit84dbcd6147557b78e635ac70bf744020ed3253f1 (patch)
treef67415aaab14dfea03b01825d91198dad419072d /source3
parentd1baa1fda928bfcc1998575f2af71aaa001402aa (diff)
downloadsamba-84dbcd6147557b78e635ac70bf744020ed3253f1.tar.gz
samba-84dbcd6147557b78e635ac70bf744020ed3253f1.tar.bz2
samba-84dbcd6147557b78e635ac70bf744020ed3253f1.zip
Display nicer message when server name could not be resolved.
(This used to be commit 950d8e365626ecbd82e9ee965dc1724dc50c64a4)
Diffstat (limited to 'source3')
-rw-r--r--source3/rpcclient/rpcclient.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/rpcclient/rpcclient.c b/source3/rpcclient/rpcclient.c
index 7b98d680a1..79ab44513d 100644
--- a/source3/rpcclient/rpcclient.c
+++ b/source3/rpcclient/rpcclient.c
@@ -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;
}