summaryrefslogtreecommitdiff
path: root/dbus/dbus-bus.c
diff options
context:
space:
mode:
authorSimon McVittie <smcv@debian.org>2016-07-21 11:01:01 +0100
committerSimon McVittie <smcv@debian.org>2016-09-30 19:36:51 +0100
commitf1cd229f83bf6de2fa0b978d8dab11bb0abb3490 (patch)
treeaab3a213b2ad521c58493441b11ba3851950549a /dbus/dbus-bus.c
parentb8abdc52afcc36dbd6dfbee3a5532048f88097bf (diff)
downloaddbus-f1cd229f83bf6de2fa0b978d8dab11bb0abb3490.tar.gz
Remove trailing newlines from _dbus_warn, _dbus_warn_check_failed
They used to be needed, but are not needed any more, and we were never completely consistent about including them in any case. Signed-off-by: Simon McVittie <smcv@debian.org>
Diffstat (limited to 'dbus/dbus-bus.c')
-rw-r--r--dbus/dbus-bus.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/dbus/dbus-bus.c b/dbus/dbus-bus.c
index 0fd48311..b96b1b2d 100644
--- a/dbus/dbus-bus.c
+++ b/dbus/dbus-bus.c
@@ -105,7 +105,7 @@ addresses_shutdown_func (void *data)
while (i < N_BUS_TYPES)
{
if (bus_connections[i] != NULL)
- _dbus_warn_check_failed ("dbus_shutdown() called but connections were still live. This probably means the application did not drop all its references to bus connections.\n");
+ _dbus_warn_check_failed ("dbus_shutdown() called but connections were still live. This probably means the application did not drop all its references to bus connections.");
dbus_free (bus_connection_addresses[i]);
bus_connection_addresses[i] = NULL;
@@ -168,9 +168,9 @@ init_session_address (void)
else if (supported && !retval)
{
if (dbus_error_is_set(&error))
- _dbus_warn ("Dynamic session lookup supported but failed: %s\n", error.message);
+ _dbus_warn ("Dynamic session lookup supported but failed: %s", error.message);
else
- _dbus_warn ("Dynamic session lookup supported but failed silently\n");
+ _dbus_warn ("Dynamic session lookup supported but failed silently");
}
_dbus_string_free (&addr);
}