Index: src/helper.c
--- src/helper.c.orig
+++ src/helper.c
@@ -14,6 +14,7 @@
  *
  */
 
+#include <ctype.h>
 #include <stdio.h>
 #include <stdlib.h>
 #include <stdarg.h>
@@ -165,7 +166,7 @@ unsigned char inet_addr_valid(unsigned char * addr) {
                 }
                 j++;
             }
-            *indx++;
+            indx++;
 
             if (atoi(num) > 0xff)
                 return (0);
