diff options
author | Tobias Brunner <tobias@strongswan.org> | 2013-10-11 13:57:05 +0200 |
---|---|---|
committer | Tobias Brunner <tobias@strongswan.org> | 2013-10-11 15:12:16 +0200 |
commit | 3473cbab9c67953b99c0ee2cf02d88a7e98d7265 (patch) | |
tree | d39b2996c76291cd6a273e2b4184ff0d8f67e8b7 | |
parent | fc566632da206a413fc251138ed1db97649995dc (diff) | |
download | strongswan-3473cbab9c67953b99c0ee2cf02d88a7e98d7265.tar.bz2 strongswan-3473cbab9c67953b99c0ee2cf02d88a7e98d7265.tar.xz |
vstr: Forward actual field width
fmt_field_width is a flag that indicates if a field width
is defined in obj_field_width.
-rw-r--r-- | src/libstrongswan/utils/printf_hook/printf_hook_vstr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstrongswan/utils/printf_hook/printf_hook_vstr.c b/src/libstrongswan/utils/printf_hook/printf_hook_vstr.c index f1884f119..ab93b24ba 100644 --- a/src/libstrongswan/utils/printf_hook/printf_hook_vstr.c +++ b/src/libstrongswan/utils/printf_hook/printf_hook_vstr.c @@ -144,7 +144,7 @@ static int custom_fmt_cb(Vstr_base *base, size_t pos, Vstr_fmt_spec *fmt_spec) spec.hash = fmt_spec->fmt_hash; spec.plus = fmt_spec->fmt_plus; spec.minus = fmt_spec->fmt_minus; - spec.width = fmt_spec->fmt_field_width; + spec.width = fmt_spec->obj_field_width; handler->hook(&data, &spec, args); |