summaryrefslogtreecommitdiff
path: root/src/imlib.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/imlib.c')
-rw-r--r--src/imlib.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/imlib.c b/src/imlib.c
index 4bbc196..6d718f5 100644
--- a/src/imlib.c
+++ b/src/imlib.c
@@ -265,6 +265,9 @@ char *feh_http_load_image(char *url)
if (fd != -1) {
sfp = fdopen(fd, "w+");
if (sfp != NULL) {
+#ifdef DEBUG
+ curl_easy_setopt(curl, CURLOPT_VERBOSE, 1);
+#endif
curl_easy_setopt(curl, CURLOPT_URL, url);
curl_easy_setopt(curl, CURLOPT_WRITEDATA, sfp);
ebuff = emalloc(CURL_ERROR_SIZE);