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

(usagi-users 03473) Re: IPv6 Multicast question - connect fails



On Wed, Aug 10, 2005 at 02:18:35PM +0200, Bas Vermeulen wrote:
[...]
> > (btw using goto's ????)
> 
> I'm a kernel programmer, and am not opposed to goto's. :) This is
> basically just a quick and dirty approach, and the goto was an easy way
> to get the right error reporting.

There are actually lots of goto's in the kernel, and used the right way
they can make the code more readable (typically when you need to exit
from a function at several deeply nested places and you need to free
some data before returning).

Stig