add missing location argument

This commit is contained in:
Andreas Öman 2007-12-07 09:58:53 +00:00
parent 74ffb3af8f
commit c069dfed58

2
http.c
View file

@ -260,7 +260,7 @@ http_redirect(http_connection_t *hc, const char *location)
tcp_init_queue(&tq, -1);
tcp_qprintf(&tq, "Please follow <a href=\"%s\"\"></a>");
tcp_qprintf(&tq, "Please follow <a href=\"%s\"\"></a>", location);
http_printf(hc,
"Location: %s\r\n"