diff options
| author | Florian Westphal <fw@strlen.de> | 2005-08-28 12:18:50 +0000 |
|---|---|---|
| committer | Florian Westphal <fw@strlen.de> | 2005-08-28 12:18:50 +0000 |
| commit | 8efeae171431db98f88435a7152e94b1532c3955 (patch) | |
| tree | f5ba52916810e9dcc1fd9abc3bb46f36e59d33ad /src | |
| parent | 21ad5dcfffa492a949a832fa1631242f4bad7a7a (diff) | |
| download | ngircd-8efeae171431db98f88435a7152e94b1532c3955.tar.gz ngircd-8efeae171431db98f88435a7152e94b1532c3955.zip | |
fix embarassing cut&paste error
Diffstat (limited to 'src')
| -rw-r--r-- | src/ngircd/array.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ngircd/array.c b/src/ngircd/array.c index cbfdcd85..25eb6805 100644 --- a/src/ngircd/array.c +++ b/src/ngircd/array.c @@ -12,7 +12,7 @@ #include "array.h" -static char UNUSED id[] = "$Id: array.c,v 1.6 2005/08/28 11:47:02 fw Exp $"; +static char UNUSED id[] = "$Id: array.c,v 1.7 2005/08/28 12:18:50 fw Exp $"; #include <assert.h> @@ -235,7 +235,7 @@ array_cat0(array * a) bool array_cat0_temporary(array * a) { - char *endpos = array_alloc(a, 1, array_bytes(len)); + char *endpos = array_alloc(a, 1, array_bytes(a)); if (!endpos) return false; |