Hi, On Tue, Feb 17, 2015 at 01:16:54AM +0100, Aurelien Jacobs wrote: > > If present, add serial to description for better identification > > Appart from the spaces instead of tabs indentation, usage of snprintf() > is slightly wrong: > snprintf(description, sizeof(description)-1, ..... > the -1 is useless and misleading.
Merged with small indentation fixes as mentioned, thanks! I also dropped all the "-1" from all snprintf() invocations as that's indeed a bit misleading. Uwe. -- http://hermann-uwe.de | http://randomprojects.org | http://sigrok.org ------------------------------------------------------------------------------ Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration & more Get technology previously reserved for billion-dollar corporations, FREE http://pubads.g.doubleclick.net/gampad/clk?id=190641631&iu=/4140/ostg.clktrk _______________________________________________ sigrok-devel mailing list sigrok-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sigrok-devel