diff options
author | Colin Walters <walters@verbum.org> | 2010-03-21 07:01:15 -0400 |
---|---|---|
committer | Colin Walters <walters@verbum.org> | 2010-03-21 07:01:55 -0400 |
commit | c4371e4bc8a561cf91516d22f00c9512dc7e8e53 (patch) | |
tree | af2bb95b6dd2c2cb54e077f49615fa4c471eb47a /bus | |
parent | af95ba7c8eafaff6c5a8ab8dd2784427b168cab5 (diff) |
[bus] While creating a syslog, correctly get pointer data from DBusString
Diffstat (limited to 'bus')
-rw-r--r-- | bus/bus.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1196,7 +1196,7 @@ bus_context_log (BusContext *context, DBusSystemLogSeverity severity, const char if (!_dbus_string_append_printf_valist (&full_msg, msg, args)) goto oom_out; - _dbus_system_log (severity, "%s", full_msg); + _dbus_system_log (severity, "%s", _dbus_string_get_const_data (&full_msg)); oom_out: _dbus_string_free (&full_msg); } |