[IRCServices Coding] local_set_cumodes

Finny Merrill griever at t2n.org
Thu Jan 2 02:20:37 PST 2003


On Wed, 1 Jan 2003, Ron wrote:

> 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?
> 

Jesus christ ron, are you snorting blocks?

char buf[3] declares 3 chars, buf[0], buf[1] and buf[2]

Go to rehab