summaryrefslogtreecommitdiff
path: root/src/imlib.c
diff options
context:
space:
mode:
authorAndrew Potter <agpotter@gmail.com>2011-02-15 14:15:25 -0800
committerAndrew Potter <agpotter@gmail.com>2011-02-15 14:15:25 -0800
commitca2b4ee55dc548d86fcc4c8aae07c62fbc0bc676 (patch)
tree8fedc15d577f813f3ab576d22cc5f2c3a4d54e20 /src/imlib.c
parent0a31528663cafafc9382b602d7f9e08c1bf6bf84 (diff)
Add libcurl option -{
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 b251cac..0d2a1dd 100644
--- a/src/imlib.c
+++ b/src/imlib.c
@@ -34,6 +34,7 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
#include <netinet/in.h>
#include <arpa/inet.h>
#include <netdb.h>
+#include <curl/curl.h>
Display *disp = NULL;
Visual *vis = NULL;
@@ -439,6 +440,8 @@ char *feh_http_load_image(char *url)
} /* while read */
close(sockno);
fclose(fp);
+ } else if (opt.libcurl_http) {
+
} else {
int pid;
int status;