From e85fa51c141eff8fe6a110f16a9daa933774ccdc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lorenz=20K=C3=A4stle?= Date: Mon, 8 Jun 2026 09:20:17 +0200 Subject: [PATCH] Remove a few unnecessary trailing newlines from error messages --- plugins/netutils.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/netutils.c b/plugins/netutils.c index f9933ebd..29b31366 100644 --- a/plugins/netutils.c +++ b/plugins/netutils.c @@ -46,9 +46,9 @@ void socket_timeout_alarm_handler(int sig) { timeout_sc = mp_set_subcheck_state(timeout_sc, socket_timeout_state); if (sig == SIGALRM) { - xasprintf(&timeout_sc.output, _("Socket timeout after %d seconds\n"), socket_timeout); + xasprintf(&timeout_sc.output, _("Socket timeout after %d seconds"), socket_timeout); } else { - xasprintf(&timeout_sc.output, _("Abnormal timeout after %d seconds\n"), socket_timeout); + xasprintf(&timeout_sc.output, _("Abnormal timeout after %d seconds"), socket_timeout); } mp_check overall = mp_check_init();