aboutsummaryrefslogtreecommitdiffstats
path: root/src/libstrongswan/printf_hook.h
diff options
context:
space:
mode:
authorTobias Brunner <tobias@strongswan.org>2012-08-08 14:05:58 +0200
committerTobias Brunner <tobias@strongswan.org>2012-08-13 11:00:28 +0200
commit495e12aeadb02bfda8621984ff0a4e07e1fcd89f (patch)
tree9b7083d3f87fba57dd7c7339e5cec2d6e2be4cdf /src/libstrongswan/printf_hook.h
parentc6c39c783bd713fe2c159be7445a82f8b8c9c3e5 (diff)
downloadstrongswan-495e12aeadb02bfda8621984ff0a4e07e1fcd89f.tar.bz2
strongswan-495e12aeadb02bfda8621984ff0a4e07e1fcd89f.tar.xz
Add support for '+' in custom format specifiers
Diffstat (limited to 'src/libstrongswan/printf_hook.h')
-rw-r--r--src/libstrongswan/printf_hook.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/libstrongswan/printf_hook.h b/src/libstrongswan/printf_hook.h
index 93026cc34..96e5a19af 100644
--- a/src/libstrongswan/printf_hook.h
+++ b/src/libstrongswan/printf_hook.h
@@ -163,6 +163,11 @@ struct printf_hook_spec_t {
int minus;
/**
+ * TRUE if a '+' was used in the format specifier
+ */
+ int plus;
+
+ /**
* The width as given in the format specifier.
*/
int width;