[NeoStats-Devel] [Commits] r2749 - trunk/modules/quoteserv

[email protected] Fri, 19 Aug 2005 07:18:53 +1000
Newsgroups gmane.comp.neostats.devel
Message-ID <[email protected]>
Author: Mark
Date: Fri Aug 19 05:18:51 2005
New Revision: 2749

Modified:
   trunk/modules/quoteserv/main.c
Log:
quoteserv: fix alloc size

Modified: trunk/modules/quoteserv/main.c
==============================================================================
--- trunk/modules/quoteserv/main.c	(original)
+++ trunk/modules/quoteserv/main.c	Fri Aug 19 05:18:51 2005
@@ -150,6 +150,7 @@
 		len = strlen( buf );
 		if( len == 0 )
 			continue;
+		len++;
 		ptr = ns_malloc( len );
 		if( ircstrncasecmp( buf, "PREFIX:", 7 ) == 0 )
 		{