diff options
author | jgeboski <jgeboski@gmail.com> | 2015-01-27 20:20:46 -0500 |
---|---|---|
committer | jgeboski <jgeboski@gmail.com> | 2015-01-27 20:20:46 -0500 |
commit | 3c3a91a4472f4b58da7a44f25336934571311701 (patch) | |
tree | b40156c0f600d4160fd9d04b9c4257674919747d /facebook/facebook-util.h | |
parent | d930418085de78ff5e2ba8e4de53e7085e8d00a8 (diff) | |
download | bitlbee-facebook-3c3a91a4472f4b58da7a44f25336934571311701.tar.gz bitlbee-facebook-3c3a91a4472f4b58da7a44f25336934571311701.tar.bz2 bitlbee-facebook-3c3a91a4472f4b58da7a44f25336934571311701.tar.xz |
Check format string security at compile-time
This enables various format string security checks by the compiler in
attempt to avoid run-time failures.
Diffstat (limited to 'facebook/facebook-util.h')
-rw-r--r-- | facebook/facebook-util.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/facebook/facebook-util.h b/facebook/facebook-util.h index 9bfb04f..fdf4434 100644 --- a/facebook/facebook-util.h +++ b/facebook/facebook-util.h @@ -46,7 +46,8 @@ gboolean fb_util_debugging(void); #ifdef DEBUG_FACEBOOK void fb_util_hexdump(const GByteArray *bytes, guint indent, - const gchar *fmt, ...); + const gchar *fmt, ...) + G_GNUC_PRINTF(3, 4); #else /* DEBUG_FACEBOOK */ #define fb_util_hexdump(bs, i, f, ...) #endif /* DEBUG_FACEBOOK */ |