From e7c4442c6966102c382e7059f1b847c66e8c8cbb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Denis-Courmont?= Date: Thu, 25 Nov 2010 12:51:03 +0200 Subject: [PATCH] core: Remove stray newlines in messages sent to log --- src/gprs.c | 2 +- src/sim.c | 2 +- src/voicecall.c | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/gprs.c b/src/gprs.c index 3de3f2bf..7e42a99c 100644 --- a/src/gprs.c +++ b/src/gprs.c @@ -1730,7 +1730,7 @@ static DBusMessage *gprs_remove_context(DBusConnection *conn, storage_sync(gprs->imsi, SETTINGS_STORE, gprs->settings); } - DBG("Unregistering context: %s\n", ctx->path); + DBG("Unregistering context: %s", ctx->path); context_dbus_unregister(ctx); gprs->contexts = g_slist_remove(gprs->contexts, ctx); diff --git a/src/sim.c b/src/sim.c index c4af079f..bc7859c6 100644 --- a/src/sim.c +++ b/src/sim.c @@ -1097,7 +1097,7 @@ static void sim_sdn_read_cb(int ok, int length, int record, if (sim->service_numbers && g_slist_find_custom(sim->service_numbers, alpha, service_number_compare)) { - ofono_error("Duplicate EFsdn entries for `%s'\n", + ofono_error("Duplicate EFsdn entries for `%s'", alpha); g_free(alpha); diff --git a/src/voicecall.c b/src/voicecall.c index 52baec3a..a91f14ff 100644 --- a/src/voicecall.c +++ b/src/voicecall.c @@ -1825,7 +1825,7 @@ void ofono_voicecall_notify(struct ofono_voicecall *vc, call_compare_by_id); if (l) { - DBG("Found call with id: %d\n", call->id); + DBG("Found call with id: %d", call->id); voicecall_set_call_status(l->data, call->status); voicecall_set_call_lineid(l->data, &call->phone_number, call->clip_validity); @@ -1833,7 +1833,7 @@ void ofono_voicecall_notify(struct ofono_voicecall *vc, return; } - DBG("Did not find a call with id: %d\n", call->id); + DBG("Did not find a call with id: %d", call->id); __ofono_modem_callid_hold(modem, call->id);