zorikcherfas/peerblock

Fix printf calls

Closed this issue · 2 comments

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:

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

Attachments:

Committed in r651.

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

  • Changed state: Fixed