diff options
| author | Daniel Friesel <derf@finalrewind.org> | 2012-01-25 13:27:34 +0100 | 
|---|---|---|
| committer | Daniel Friesel <derf@finalrewind.org> | 2012-01-25 13:27:34 +0100 | 
| commit | a6be2495675771256570a75841815d4e3de80934 (patch) | |
| tree | 04b13ddd4de179ce544bff975917c73dbbb82a03 | |
| parent | 37da0ee03304cfd47094c747d64d23b33ef47e55 (diff) | |
imlib.c: Set CURLOPT_VERBOSE when built with DEBUG
| -rw-r--r-- | src/imlib.c | 3 | 
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); | 
