From aae0a563edc21030c08fd47e30e78eda22183027 Mon Sep 17 00:00:00 2001 From: Timo Teräs Date: Sat, 1 Jan 2011 12:09:42 +0200 Subject: url: use always busybox wget I think there used to be problems with using http_proxy on bb wget, but those have been fixed for quite some time. This fixes #347. We should probably use libcurl or similar library eventually, but I'm not entirely sure if/when we want that. --- src/url.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/url.c b/src/url.c index acfb4fc..d007860 100644 --- a/src/url.c +++ b/src/url.c @@ -70,7 +70,7 @@ static int fork_wget(const char *url, pid_t *ppid) close(fds[0]); dup2(open("/dev/null", O_RDONLY), STDIN_FILENO); dup2(fds[1], STDOUT_FILENO); - execlp("wget", "wget", "-q", "-O", "-", url, NULL); + execlp("busybox", "wget", "-q", "-O", "-", url, NULL); exit(0); } -- cgit v1.2.3-60-g2f50