[IRCServices Coding] local_set_cumodes

Craig Edwards brain at brainbox.winbot.co.uk
Wed Jan 1 17:10:12 PST 2003


looks like the final byte is used for a null terminator?

0 1 2 0x00

>trying to understand some of this code...
>
>was just curious as to something... in the function local_set_cumodes you do:
>	char buf[3]
>
>so that it fits 4 chars: 0 1 2 3
>but you only use 3: 0 1 2
>
>just a mistake or is there a reason for it?
>
>thanks
>------------------------------------------------------------------
>To unsubscribe or change your subscription options, visit:
>http://www.ircservices.za.net/mailman/listinfo/ircservices-coding