repo: ngircd
action: commit
revision: 
path_from: 
revision_from: 8efeae171431db98f88435a7152e94b1532c3955:
path_to: 
revision_to: 
git.thebackupbox.net
ngircd
git clone git://git.thebackupbox.net/ngircd
commit 8efeae171431db98f88435a7152e94b1532c3955
Author: Florian Westphal 
Date:   Sun Aug 28 12:18:50 2005 +0000

    fix embarassing cut&paste error

diff --git a/src/ngircd/array.c b/src/ngircd/array.c
index cbfdcd85240b4853287f6d9058d2cdda35280372..
index ..25eb680515879d8b69d59130a944866a7a2c883f 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 

@@ -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;

-----END OF PAGE-----