From bc28aa77d8d3bec90d14300a18e69ebd852c507b Mon Sep 17 00:00:00 2001 From: Juan RP Date: Sat, 18 Dec 2010 10:19:09 +0100 Subject: [PATCH] xbps_fetch_file: set a 30seconds timeout. --- lib/download.c | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/download.c b/lib/download.c index 12659ce2..83371430 100644 --- a/lib/download.c +++ b/lib/download.c @@ -227,6 +227,7 @@ xbps_fetch_file(const char *uri, const char *outputdir, bool refetch, bool restart = false; fetchLastErrCode = 0; + fetchTimeout = 30; /* 30 seconds of timeout */ /* * Get the filename specified in URI argument.