Fix potential problems with non-literal printf arguments.
authorJohn Darrington <john@darrington.wattle.id.au>
Sun, 9 Oct 2011 14:42:56 +0000 (16:42 +0200)
committerJohn Darrington <john@darrington.wattle.id.au>
Sun, 9 Oct 2011 14:42:56 +0000 (16:42 +0200)
commit39cf51da9adfebd07ca8159e188bd37201ad5790
tree868805d0cdfbb3a6438480abb7f94f7d5614405c
parent90a008db8b2f6e5bec903e584eb68e9bb20c061e
Fix potential problems with non-literal printf arguments.

In a few places we were passing a constructed string to a printf-like
function as its format argument.  This could have been problematic if
the constructed string had contained a % (for example due to that
character occuring in a variable label).  This change avoids those
situations.
src/data/ods-reader.c
src/language/stats/mcnemar.c