git.samba.org
/
ira
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9c968fb
)
Display nicer message when server name could not be resolved.
author
Tim Potter
<tpot@samba.org>
Sun, 6 Jan 2002 03:24:51 +0000
(
03:24
+0000)
committer
Tim Potter
<tpot@samba.org>
Sun, 6 Jan 2002 03:24:51 +0000
(
03:24
+0000)
source/rpcclient/rpcclient.c
patch
|
blob
|
history
diff --git
a/source/rpcclient/rpcclient.c
b/source/rpcclient/rpcclient.c
index 7b98d680a18f4e4d6f7fe5c176186a3d4e53f0fd..79ab44513d01b31467c030cb99350fc3f1f45c73 100644
(file)
--- a/
source/rpcclient/rpcclient.c
+++ b/
source/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;
}