repo: ngircd
action: commit
revision: 
path_from: 
revision_from: 508b55126f8f342dcc1a7e083837b32bc7e7939c:
path_to: 
revision_to: 
git.thebackupbox.net
ngircd
git clone git://git.thebackupbox.net/ngircd
commit 508b55126f8f342dcc1a7e083837b32bc7e7939c
Author: Florian Westphal 
Date:   Wed May 2 12:34:30 2007 +0000

    fix compressed server links

diff --git a/ChangeLog b/ChangeLog
index 0fb16ec76ddbf4e70e8f09bb616b06e5d5a6f13d..
index ..7cd3bb4f58abdef6f8925febfb5cd5caaa3279e4 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -12,6 +12,7 @@

 ngIRCd HEAD

+  - fix compressed server links (broken since 0.10.0)
   - Adjust path names in manual pages according to "./configure" settings.
   - Predefined channel configuration now allows specification of channel key
     (mode k) and maximum user count (mode l): variables "Key" and "MaxUsers".
@@ -685,4 +686,4 @@ ngIRCd 0.0.1, 31.12.2001


 -- 
-$Id: ChangeLog,v 1.314 2007/04/08 11:39:08 alex Exp $
+$Id: ChangeLog,v 1.315 2007/05/02 12:34:30 fw Exp $
diff --git a/src/ngircd/conn.c b/src/ngircd/conn.c
index 945af1b31d582f0cf6a7ef45417a09117cc09d9f..
index ..54f09a5c8d97a78131ac9aaf0c47d0c52699b1e9 100644
--- a/src/ngircd/conn.c
+++ b/src/ngircd/conn.c
@@ -17,7 +17,7 @@
 #include "portab.h"
 #include "io.h"

-static char UNUSED id[] = "$Id: conn.c,v 1.204 2007/04/04 21:52:12 fw Exp $";
+static char UNUSED id[] = "$Id: conn.c,v 1.205 2007/05/02 12:34:31 fw Exp $";

 #include "imp.h"
 #include 
@@ -1099,8 +1099,7 @@ Read_Request( CONN_ID Idx )
 	} else
 #endif
 	{
-		readbuf[len] = 0;
-		if (!array_cats( &My_Connections[Idx].rbuf, readbuf )) {
+		if (!array_catb( &My_Connections[Idx].rbuf, readbuf, len)) {
 			Log( LOG_ERR, "Could not append recieved data to input buffer (connn %d): %d bytes!", Idx, len );
 			Conn_Close( Idx, "Receive buffer overflow!", NULL, false );
 		}

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