[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: topiclen fix



-> On Tue, Jan 16, 2001 at 03:18:35PM +0100, Matus fantomas Uhlar wrote:
-> > does topic eat TOPICLEN bytes always or just as much as topic length is (+\0
-> > + pointer length)? is it the same for all nick/channel infos ?
-> 
-> It's a part of the channel structure:
-> 
->         char    topic[TOPICLEN+1];

anyone wants to patch ircd to use dynamically allocated topics?

-> So it will increase memory used by 80 * 30K channels.
-> 
-> Away is dynamicly allocated.
-> 
-> For the rest, afaics, it justs limit's the lenght of a message, it's never
-> stored.

humm i'll look at that...
-- 
 Matus "fantomas" Uhlar, sysadmin at NEXTRA, Slovakia; IRCNET admin of *.sk
 uhlar@xxxxxxxxxxx ; http://www.fantomas.sk/ ; http://www.nextra.sk/
 Due to unexpected conditions Windows 2000 will be released
 in first quarter of year 1901

---
Odchozí zpráva obsahuje viry.
Zkontrolováno antivirovým systémem AVG (http://www.grisoft.cz).
Verze: 6.0.217 / Virová báze: 102 - datum vydání: 1/12/2000