From 48e05436617c5b69df13e65cf081eb8ea35561a6 Mon Sep 17 00:00:00 2001 From: Richard Hughes Date: Fri, 24 Feb 2017 16:45:03 +0000 Subject: [PATCH] Don't include newlines in error messages (cherry picked from commit d2307ca8b13468445b1080b40328c94bc3973cdf) --- lib/flatpak-installation.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/flatpak-installation.c b/lib/flatpak-installation.c index df0c2948..75f12dd0 100644 --- a/lib/flatpak-installation.c +++ b/lib/flatpak-installation.c @@ -844,7 +844,7 @@ flatpak_installation_list_installed_refs_for_update (FlatpakInstallation *self, } else { - g_debug ("Update: Failed to read remote %s: %s\n", + g_debug ("Update: Failed to read remote %s: %s", flatpak_remote_get_name (remote), local_error->message); } @@ -1790,7 +1790,7 @@ flatpak_installation_fetch_remote_ref_sync (FlatpakInstallation *self, return flatpak_remote_ref_new (ref, checksum, remote_name); g_set_error (error, G_IO_ERROR, G_IO_ERROR_NOT_FOUND, - "Reference %s doesn't exist in remote\n", ref); + "Reference %s doesn't exist in remote", ref); return NULL; }