summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/pacman/download.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pacman/download.c b/src/pacman/download.c
index 447021ef..ad19f4d4 100644
--- a/src/pacman/download.c
+++ b/src/pacman/download.c
@@ -364,7 +364,7 @@ int downloadfiles_forreal(list_t *servers, const char *localpath,
filedone = -1;
complete = list_add(complete, fn);
} else {
- if(mtime2) {
+ if(mtime2) {
strncpy(mtime2, fmtime, 15); /* YYYYMMDDHHMMSS (=14b) */
mtime2[14] = '\0';
}