Browse Source

*** empty log message ***

David Rose 25 years ago
parent
commit
0b0780f65e
1 changed files with 2 additions and 0 deletions
  1. 2 0
      panda/src/net/netAddress.cxx

+ 2 - 0
panda/src/net/netAddress.cxx

@@ -77,6 +77,8 @@ set_host(const string &hostname, int port) {
     PR_GetHostByName(hostname.c_str(), buf, PR_NETDB_BUF_SIZE, &host);
     PR_GetHostByName(hostname.c_str(), buf, PR_NETDB_BUF_SIZE, &host);
   if (result != PR_SUCCESS) {
   if (result != PR_SUCCESS) {
     pprerror("PR_GetHostByName");
     pprerror("PR_GetHostByName");
+    net_cat.error()
+      << "Unable to look up hostname " << hostname << ".\n";
     return false;
     return false;
   }
   }