projects
/
platform
/
upstream
/
dbus.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
af95ba7
)
[bus] While creating a syslog, correctly get pointer data from DBusString
author
Colin Walters
<walters@verbum.org>
Sun, 21 Mar 2010 11:01:15 +0000
(07:01 -0400)
committer
Colin Walters
<walters@verbum.org>
Sun, 21 Mar 2010 11:01:55 +0000
(07:01 -0400)
bus/bus.c
patch
|
blob
|
history
diff --git
a/bus/bus.c
b/bus/bus.c
index 3e37e90a2aefd29312770b1b61a16d265275c10c..60de72af6259e919df48494535e64d00750e2d9c 100644
(file)
--- a/
bus/bus.c
+++ b/
bus/bus.c
@@
-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);
}