--- a/cgi/outages.c
+++ b/cgi/outages.c
@@ -225,7 +225,6 @@
 
 		/* do some basic length checking on the variable identifier to prevent buffer overflows */
 		if(strlen(variables[x]) >= MAX_INPUT_BUFFER - 1) {
-			x++;
 			continue;
 			}