Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAaron Griffin <aaron@archlinux.org>2006-10-24 04:33:40 +0000
committerAaron Griffin <aaron@archlinux.org>2006-10-24 04:33:40 +0000
commite21f4c8f2e7eb9f974c1bb1ecac03eb947982be6 (patch)
tree45cf49a3df121d814d86e21b38db6edce8634e8f /src
parent7fc4b8d2d51ba3f5503b06ee6c368ee87ca2c81d (diff)
Added PM_DLFNM_LEN define, via VMiklos
http://darcs.frugalware.org/darcsweb/darcsweb.cgi?r=pacman;a=commitdiff;h=20061023154138-e2957-de4837230b091cbc2136306e1c55a4b79cc72fc8.gz
Diffstat (limited to 'src')
-rw-r--r--src/pacman/download.c2
-rw-r--r--src/pacman/download.h2
2 files changed, 2 insertions, 2 deletions
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;