Skip to content
Snippets Groups Projects
Commit a6be2495 authored by Birte Kristina Friesel's avatar Birte Kristina Friesel
Browse files

imlib.c: Set CURLOPT_VERBOSE when built with DEBUG

parent 37da0ee0
No related branches found
No related tags found
No related merge requests found
......@@ -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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment