X-Git-Url: https://git.exim.org/exim.git/blobdiff_plain/a85c067ba6c6940512cf57ec213277a370d87e70..a1ebfb2e46e13ee87afc91856a4af38175735d74:/src/exim_monitor/em_menu.c diff --git a/src/exim_monitor/em_menu.c b/src/exim_monitor/em_menu.c index afcd31540..25ab806b3 100644 --- a/src/exim_monitor/em_menu.c +++ b/src/exim_monitor/em_menu.c @@ -3,9 +3,9 @@ *************************************************/ /* Copyright (c) University of Cambridge 1995 - 2018 */ -/* Copyright (c) The Exim Maintainers 2021 */ +/* Copyright (c) The Exim Maintainers 2023 */ /* See the file NOTICE for conditions of use and distribution. */ -/* SPDX-License-Identifier: GPL-2.0-only */ +/* SPDX-License-Identifier: GPL-2.0-or-later */ #include "em_hdr.h" @@ -364,7 +364,7 @@ if ((pid = fork()) == 0) dup2(pipe_fd[1], 2); close(pipe_fd[1]); - system(CS buffer); + if (system(CS buffer)) ; close(1); close(2); @@ -825,7 +825,7 @@ while (p > 0 && s[p+11] == ' ') /* Now pointing at first character of a main line. */ -Ustrncpy(message_id, s+p+11, MESSAGE_ID_LENGTH); +Ustrncpy(message_id, s+p+11, MESSAGE_ID_LENGTH); /*III*/ message_id[MESSAGE_ID_LENGTH] = 0; /* Highlight the line being menued, and save its parameters so that it