Remove a few unnecessary trailing newlines from error messages (#2274)
Some checks failed
CodeQL / Analyze (push) Has been cancelled
Spellcheck / codespell (push) Has been cancelled
Tests / Running unit and integrationt tests (push) Has been cancelled
Tests / Running rpm build test on almalinux:9 (push) Has been cancelled
Tests / Running rpm build test on fedora:latest (push) Has been cancelled
Tests / Running rpm build test on rockylinux:8 (push) Has been cancelled

Co-authored-by: Lorenz Kästle <lorenz.kaestle@netways.de>
This commit is contained in:
Lorenz Kästle 2026-06-08 13:19:31 +02:00 committed by GitHub
parent 9bbc764838
commit 47b1b2d754
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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();