index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
-rw-r--r-- | src/pacman/download.c | 2 | ||||
-rw-r--r-- | src/pacman/download.h | 2 |
diff --git a/src/pacman/download.c b/src/pacman/download.c index 2be6e242..2b0ad096 100644 --- a/src/pacman/download.c +++ b/src/pacman/download.c @@ -40,7 +40,7 @@ #include "conf.h" /* progress bar */ -char sync_fnm[23]; +char sync_fnm[PM_DLFNM_LEN+1]; int offset; struct timeval t0, t; float rate; diff --git a/src/pacman/download.h b/src/pacman/download.h index a3ff45c2..fb65a4c0 100644 --- a/src/pacman/download.h +++ b/src/pacman/download.h @@ -21,7 +21,7 @@ #ifndef _PM_DOWNLOAD_H #define _PM_DOWNLOAD_H -extern char sync_fnm[23]; +extern char sync_fnm[PM_DLFNM_LEN+1]; extern int offset; extern struct timeval t0, t; extern float rate; |