[eggheads-patches] PATCH1.6: handlen-friendly.patch

zart-eggpatches at zartsoft.ru zart-eggpatches at zartsoft.ru
Wed Jul 3 06:40:04 CST 2002


This patch removes 'spaces' and 'spaces2' variables and uses slightly
different approach when formatting output of .dccstat, .who, .whois,
.match, .channel commands, making them more nice looking when bot is
compiled with big HANDLEN.

It uses temporary buffer for format string. Better approach would be
to use %* in printf, but I guess it's less portable.

There are also 'spaces' and 'spaces2' variable left in transfer module
but it uses localized format strings, so this method won't work.

Patch was made against latest 1.6 CVS. I guess this patch should apply
to 1.7 as well but I can't test it at the moment.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: handlen-friendly.patch
Type: application/octet-stream
Size: 17042 bytes
Desc: not available
URL: <http://lists.eggheads.org/pipermail/patches/attachments/20020703/1b032636/attachment.obj>

More information about the Patches mailing list