summaryrefslogtreecommitdiff
path: root/lib/libalpm
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libalpm')
-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 57c21b8e..fb778ee0 100644
--- a/lib/libalpm/dload.c
+++ b/lib/libalpm/dload.c
@@ -147,8 +147,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. */