git://git.exim.org
/
exim.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
String expansions: fix ${extract }, for the numeric/3-string case. Bug 1807
[exim.git]
/
src
/
exim_monitor
/
em_menu.c
diff --git
a/src/exim_monitor/em_menu.c
b/src/exim_monitor/em_menu.c
index 94118dbf79f669e882530f9c8b2418f2e981db22..af9ef37016258483e2c0ccd3a85ea6e3703a823b 100644
(file)
--- a/
src/exim_monitor/em_menu.c
+++ b/
src/exim_monitor/em_menu.c
@@
-1,10
+1,8
@@
-/* $Cambridge: exim/src/exim_monitor/em_menu.c,v 1.2 2005/01/04 10:00:42 ph10 Exp $ */
-
/*************************************************
* Exim Monitor *
*************************************************/
/*************************************************
* Exim Monitor *
*************************************************/
-/* Copyright (c) University of Cambridge 1995 - 200
5
*/
+/* Copyright (c) University of Cambridge 1995 - 200
9
*/
/* See the file NOTICE for conditions of use and distribution. */
/* See the file NOTICE for conditions of use and distribution. */
@@
-375,7
+373,7
@@
if ((pid = fork()) == 0)
/* Main process - set up an item for the main ticker to watch. */
/* Main process - set up an item for the main ticker to watch. */
-if (pid < 0) text_showf(text, "Failed to fork: %s\n", strerror(
pid
)); else
+if (pid < 0) text_showf(text, "Failed to fork: %s\n", strerror(
errno
)); else
{
pipe_item *p = (pipe_item *)store_malloc(sizeof(pipe_item));
{
pipe_item *p = (pipe_item *)store_malloc(sizeof(pipe_item));