mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 12:11:13 +00:00
printf: skip pointer extension signifier chars after %p
So they don't get printed after the serialised pointer string.
This commit is contained in:
parent
6d8a6470d5
commit
3778c1878c
1 changed files with 1 additions and 0 deletions
|
@ -400,6 +400,7 @@ printf_parse (const char *format, char_directives * d, arguments * a)
|
|||
type = TYPE_POINTER_EXT;
|
||||
dp->flags |= FLAG_PTR_EXT;
|
||||
dp->ptr_ext_char = cp[1];
|
||||
cp += 2;
|
||||
/* we do not use dp->conversion='s' on purpose here, so we
|
||||
* can fall back to printing just the pointer with %p if the
|
||||
* serialisation function returned NULL for some reason */
|
||||
|
|
Loading…
Reference in a new issue