[pisa-src] Re: r1218 - trunk/tools/iwlist_parser.c

  • From: Diego Biurrun <diego@xxxxxxxxxx>
  • To: pisa-src@xxxxxxxxxxxxx
  • Date: Thu, 22 Oct 2009 18:08:23 +0200

On Fri, Oct 16, 2009 at 02:48:47PM +0200, Hanno Wirtz wrote:
> 
> --- trunk/tools/iwlist_parser.c       Fri Oct 16 14:15:38 2009        (r1217)
> +++ trunk/tools/iwlist_parser.c       Fri Oct 16 14:48:46 2009        (r1218)
> @@ -203,15 +207,47 @@
> +
> +#ifdef DEBUG
> +                        printf("Signal Strength: %i \n", 
> iSignalStrength[iCellNumber-1]);
> +#endif

This is a slippery slope towards #ifdef hell.

I replaced it with a proper dbg_printf macro.

Diego

Other related posts: