warvair / peerblock

Automatically exported from code.google.com/p/peerblock
Other
0 stars 1 forks source link

Fix printf calls #468

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
From the msdn documentation, the second parameter in the printf calls is the 
number of characters and not their size.

See the attached patch. I used the _countof macro which isn't portable but we 
can define it ourselves if we need to be portable.

Original issue reported on code.google.com by XhmikosR on 6 Aug 2013 at 4:01

Attachments:

GoogleCodeExporter commented 9 years ago

Original comment by XhmikosR on 6 Aug 2013 at 4:42

Attachments:

GoogleCodeExporter commented 9 years ago
Committed in r651.

Original comment by XhmikosR on 9 Oct 2013 at 6:54