add missing location argument
This commit is contained in:
parent
74ffb3af8f
commit
c069dfed58
1 changed files with 1 additions and 1 deletions
2
http.c
2
http.c
|
@ -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"
|
||||
|
|
Loading…
Add table
Reference in a new issue