Ver código fonte

* Fix DCC hostname being blank when forward doesn't match reverse

Bryan Drewery 16 anos atrás
pai
commit
00a7c8e155
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1 1
      src/dcc.c

+ 1 - 1
src/dcc.c

@@ -1527,7 +1527,7 @@ static void dcc_telnet_dns_forward_callback(int id, void *client_data, const cha
     return;
   }
 
-  bool forward_matched = true;
+  bool forward_matched = false;
   bd::String look_for_ip(iptostr(htonl(dcc[i].addr)));
   // Look for any match
   for (size_t n = 0; n < ips.size(); ++n) {