Merge branch 'master' of /srv/git/r/ashd
[ashd.git] / src / callcgi.c
index da5fc9b..dcd6819 100644 (file)
@@ -240,6 +240,7 @@ static void sendstatus(char **headers, FILE *out)
            **hp = 0;
        } else if(!strcasecmp(hp[0], "location")) {
            location = hp[1];
+           hp += 2;
        } else {
            hp += 2;
        }