summaryrefslogtreecommitdiff
path: root/graphics/gimp-app/files/patch-plug-ins_common_url.c
blob: bceff6df101cdc23f7ff8c1793330c649825a066 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
--- plug-ins/common/url.c.orig	Wed Dec 28 13:56:48 2005
+++ plug-ins/common/url.c	Wed Dec 28 13:58:33 2005
@@ -186,10 +186,10 @@
       putenv ("LANG=C");
 #endif
 
-      execlp ("wget",
-              "wget", "-v", "-e", "server-response=off", "-T", TIMEOUT,
-              filename, "-O", tmpname, NULL);
-      g_message ("exec() failed: wget: %s", g_strerror (errno));
+      execlp ("fetch",
+              "fetch", "-T", TIMEOUT,
+              filename, "-p", "-o", tmpname, NULL);
+      g_message ("exec() failed: fetch: %s", g_strerror (errno));
       g_free (tmpname);
       _exit (127);
     }