瀏覽代碼

*** empty log message ***

David Rose 25 年之前
父節點
當前提交
0b0780f65e
共有 1 個文件被更改,包括 2 次插入0 次删除
  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);
   if (result != PR_SUCCESS) {
     pprerror("PR_GetHostByName");
+    net_cat.error()
+      << "Unable to look up hostname " << hostname << ".\n";
     return false;
   }