From b453ee32deecd70d49eaeab17b707ec026a129f7 Mon Sep 17 00:00:00 2001 From: Ricardo Mones Date: Fri, 29 Jul 2016 20:21:05 +0200 Subject: [PATCH] Remove more line breaks from g_warning() --- src/passwordstore.c | 2 +- src/plugins/archive/libarchive_archive.c | 7 +++---- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/src/passwordstore.c b/src/passwordstore.c index 2694d8931..87de3faa9 100644 --- a/src/passwordstore.c +++ b/src/passwordstore.c @@ -409,7 +409,7 @@ void passwd_store_read_config(void) PASSWORD_STORE_RC, NULL); if (!g_file_get_contents(rcpath, &contents, NULL, &error)) { - g_warning("couldn't read password store from file: %s\n", error->message); + g_warning("couldn't read password store from file: %s", error->message); g_error_free(error); g_free(rcpath); return; diff --git a/src/plugins/archive/libarchive_archive.c b/src/plugins/archive/libarchive_archive.c index d084f80a7..5499d1e04 100644 --- a/src/plugins/archive/libarchive_archive.c +++ b/src/plugins/archive/libarchive_archive.c @@ -1,6 +1,6 @@ /* * Claws Mail -- a GTK+ based, lightweight, and fast e-mail client - * Copyright (C) 1999-2008 Michael Rasmussen and the Claws Mail Team + * Copyright (C) 1999-2016 Michael Rasmussen and the Claws Mail Team * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -14,7 +14,6 @@ * * You should have received a copy of the GNU General Public License * along with this program. If not, see . - * */ #ifdef HAVE_CONFIG_H @@ -199,7 +198,7 @@ gboolean before_date(time_t msg_mtime, const gchar* before) { debug_print("Cut-off date: %s\n", before); if ((date = iso2GDate(before)) == NULL) { - g_warning("Bad date format: %s\n", before); + g_warning("Bad date format: %s", before); return FALSE; } @@ -214,7 +213,7 @@ gboolean before_date(time_t msg_mtime, const gchar* before) { } if (! g_date_valid(file_t)) { - g_warning("Invalid msg date\n"); + g_warning("Invalid msg date"); return FALSE; } -- 2.25.1