Bläddra i källkod

* Remove compiler warning

Bryan Drewery 16 år sedan
förälder
incheckning
50b9421fd3
1 ändrade filer med 1 tillägg och 1 borttagningar
  1. 1 1
      src/dcc.c

+ 1 - 1
src/dcc.c

@@ -266,9 +266,9 @@ bot_version(int idx, char *par)
 
 
   dprintf(idx, "tb %s\n", conf.bot->nick);
   dprintf(idx, "tb %s\n", conf.bot->nick);
 
 
+#ifdef no
   size_t l = atol(newsplit(&par));
   size_t l = atol(newsplit(&par));
 
 
-#ifdef no
   if (l != HANDLEN) {
   if (l != HANDLEN) {
     putlog(LOG_BOTS, "*", "Non-matching handle lengths with %s, they use %zu characters.", dcc[idx].nick, l);
     putlog(LOG_BOTS, "*", "Non-matching handle lengths with %s, they use %zu characters.", dcc[idx].nick, l);
     dprintf(idx, "error Non-matching handle length: mine %d, yours %zu\n", HANDLEN, l);
     dprintf(idx, "error Non-matching handle length: mine %d, yours %zu\n", HANDLEN, l);