summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/libalpm/dload.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libalpm/dload.c b/lib/libalpm/dload.c
index 79ecf85c..f8fb09fe 100644
--- a/lib/libalpm/dload.c
+++ b/lib/libalpm/dload.c
@@ -130,8 +130,8 @@ static int download_internal(const char *url, const char *localpath,
/* libfetch does not reset the error code */
fetchLastErrCode = 0;
- /* 10s timeout - TODO make a config option */
- fetchTimeout = 10000;
+ /* 10s timeout */
+ fetchTimeout = 10;
/* ignore any SIGPIPE signals- these may occur if our FTP socket dies or
* something along those lines. Store the old signal handler first. */