From e21f4c8f2e7eb9f974c1bb1ecac03eb947982be6 Mon Sep 17 00:00:00 2001 From: Aaron Griffin Date: Tue, 24 Oct 2006 04:33:40 +0000 Subject: Added PM_DLFNM_LEN define, via VMiklos http://darcs.frugalware.org/darcsweb/darcsweb.cgi?r=pacman;a=commitdiff;h=20061023154138-e2957-de4837230b091cbc2136306e1c55a4b79cc72fc8.gz --- src/pacman/download.c | 2 +- src/pacman/download.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src') 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; -- cgit v1.2.3-70-g09d2