Fixed a couple of small bugs.
[ashd.git] / src / callcgi.c
index c974fc3..8798c17 100644 (file)
@@ -200,6 +200,7 @@ static void sendstatus(char **headers, FILE *out)
            **hp = 0;
        } else if(!strcasecmp(hp[0], "location")) {
            location = hp[1];
+           hp += 2;
        } else {
            hp += 2;
        }