Bryan Drewery пре 21 година
родитељ
комит
39b2adcf3c
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      src/adns.c

+ 1 - 1
src/adns.c

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