summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAurelien Foret <aurelien@archlinux.org>2006-01-10 23:09:47 +0100
committerAurelien Foret <aurelien@archlinux.org>2006-01-10 23:09:47 +0100
commitc305bf670bf48c39f0459f4c26688d11ad7a4b25 (patch)
tree7b4891d9388b85a0d925dbcf2a60b61970e51df4 /src
parent540d3d49b22fafdbdc9fa2e30eff572f71144b3a (diff)
downloadpacman-c305bf670bf48c39f0459f4c26688d11ad7a4b25.tar.gz
pacman-c305bf670bf48c39f0459f4c26688d11ad7a4b25.tar.xz
updated README and download comments about mtimes support
Diffstat (limited to 'src')
-rw-r--r--src/pacman/download.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/src/pacman/download.c b/src/pacman/download.c
index 42d0bc8d..f0195202 100644
--- a/src/pacman/download.c
+++ b/src/pacman/download.c
@@ -169,17 +169,13 @@ int downloadfiles(list_t *servers, const char *localpath, list_t *files)
/*
* This is the real downloadfiles, used directly by sync_synctree() to check
- * modtimes on remote (ftp only) files.
+ * modtimes on remote files.
* - if *mtime1 is non-NULL, then only download files
* if they are different than *mtime1. String should be in the form
* "YYYYMMDDHHMMSS" to match the form of ftplib's FtpModDate() function.
* - if *mtime2 is non-NULL, then it will be filled with the mtime
- * of the remote FTP file (from MDTM).
+ * of the remote file (from MDTM FTP cmd or Last-Modified HTTP header).
*
- * NOTE: the *mtime option only works for FTP repositories, and won't work
- * if XferCommand is used. We only use it to check mtimes on the
- * repo db files.
- *
* RETURN: 0 for successful download
* -1 if the mtimes are identical
* 1 on error