oops, sending 2 bytes too much.

This commit is contained in:
Joris Vink 2013-05-02 09:25:14 +02:00
parent 364dc58219
commit c2520b2ebf
1 changed files with 1 additions and 1 deletions

View File

@ -179,7 +179,7 @@ http_response(struct http_request *req, int status, u_int8_t *d, u_int32_t len)
kore_buf_append(buf, (u_int8_t *)sbuf, strlen(sbuf));
}
kore_buf_append(buf, (u_int8_t *)"\r\n\r\n", 4);
kore_buf_append(buf, (u_int8_t *)"\r\n", 2);
htext = kore_buf_release(buf, &hlen);
if (!net_send_queue(req->owner, htext, hlen, 0, NULL, NULL)) {
free(htext);