summaryrefslogtreecommitdiff
path: root/content
diff options
context:
space:
mode:
Diffstat (limited to 'content')
-rw-r--r--content/fetch.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/content/fetch.c b/content/fetch.c
index 8aa200c91..a6ff946f2 100644
--- a/content/fetch.c
+++ b/content/fetch.c
@@ -46,7 +46,7 @@ struct fetch {
bool only_2xx; /**< Only HTTP 2xx responses acceptable. */
char *url; /**< URL. */
char *referer; /**< URL for Referer header. */
- char error_buffer[CURL_ERROR_SIZE]; /**< Error buffer for cURL. */
+ char error_buffer[CURL_ERROR_SIZE + 10]; /**< Error buffer for cURL. */
void *p; /**< Private data for callback. */
struct curl_slist *headers; /**< List of request headers. */
char *host; /**< Host part of URL. */