Make sure user agent is still set properly.

This commit is contained in:
Joris Vink 2015-12-10 09:25:22 +01:00
parent c3401fe348
commit 6ac15d37cb
1 changed files with 0 additions and 3 deletions

View File

@ -169,9 +169,6 @@ http_request_new(struct connection *c, const char *host,
TAILQ_INIT(&(req->arguments));
TAILQ_INIT(&(req->files));
if (!http_request_header(req, "user-agent", &(req->agent)))
req->agent = "unknown";
#if defined(KORE_USE_TASKS)
LIST_INIT(&(req->tasks));
#endif