diff options
Diffstat (limited to 'source3/rpcclient/rpcclient.c')
-rw-r--r-- | source3/rpcclient/rpcclient.c | 6 |
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; } |