diff options
Diffstat (limited to 'src/reqs.c')
-rw-r--r-- | src/reqs.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -258,7 +258,7 @@ extract_http_url (const char *url, struct request_s *request) if (p != NULL) { len = p - url; - request->host = safemalloc (len + 1); + request->host = (char *)safemalloc (len + 1); memcpy (request->host, url, len); request->host[len] = '\0'; request->path = safestrdup (p); |