xbps_fetch_file: set a 30seconds timeout.

This commit is contained in:
Juan RP committed 2010-12-18 10:19:09 +01:00
1 parent b017f6d024
commit bc28aa77d8
1 file changed
+1
+1
View File
@@ -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.