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