[Olsr-dev] (format)

Jens Nachtigall (spam-protected)
Sat May 26 14:46:04 CEST 2007


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?

still learning,

jens



More information about the Olsr-dev mailing list