On Sat, 2007-05-26 at 14:46 +0200, Jens Nachtigall wrote:
> Hi,
> 
> > do { if((olsr_cnf->debug_level >= ( 1 )) && debug_handle)
> > fprintf(debug_handle, (  "TC: Sending empty package\n"  ); } while (0) ;
> 
> what's the reason for the "do { .... } while (0)" in the macro. Looks a bit 
> redundant to me?

http://kernelnewbies.org/FAQ/DoWhile0

> still learning,

You are welcome.

	Bernd
-- 
Firmix Software GmbH                   http://www.firmix.at/
mobil: +43 664 4416156                 fax: +43 1 7890849-55
          Embedded Linux Development and Services


