Bryan Drewery 21 lat temu
rodzic
commit
39b2adcf3c
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      src/adns.c

+ 1 - 1
src/adns.c

@@ -257,7 +257,7 @@ static int get_dns_idx()
 
 
         if (dns_idx < 0) {
         if (dns_idx < 0) {
          putlog(LOG_SERV, "*", "NO MORE DCC CONNECTIONS -- Can't create dns connection.");
          putlog(LOG_SERV, "*", "NO MORE DCC CONNECTIONS -- Can't create dns connection.");
-         return;
+         return 1;
         }
         }
         sdprintf("dns_idx: %d", dns_idx);
         sdprintf("dns_idx: %d", dns_idx);
         dcc[dns_idx].sock = sock;
         dcc[dns_idx].sock = sock;