From 86d7837287c4ca1204cca84f55871d862fada47a Mon Sep 17 00:00:00 2001 From: Peter Maydell Date: Sat, 5 Apr 2008 19:04:41 +0000 Subject: [PATCH] * bug #18655: fix use of admonish() for a fatal error (should be adios(); only actual effect would be wrong exit code). Thanks to Craig Leres for spotting this. --- ChangeLog | 6 ++++++ uip/mhmail.c | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 4023e45..7da2dbc 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,11 @@ 2008-04-05 Peter Maydell + * bug #18655: fix use of admonish() for a fatal error (should + be adios(); only actual effect would be wrong exit code). + Thanks to Craig Leres for spotting this. + +2008-04-05 Peter Maydell + * bug #20028 (Debian bug 399271): fix code assuming that pointer differences were 32 bits -- thanks to Dean Gaudet for the patch. diff --git a/uip/mhmail.c b/uip/mhmail.c index b5da86c..f08a583 100644 --- a/uip/mhmail.c +++ b/uip/mhmail.c @@ -173,7 +173,7 @@ main (int argc, char **argv) if (child_id == NOTOK) { /* report failure and then send it */ - admonish (NULL, "unable to fork"); + adios (NULL, "unable to fork"); } else if (child_id) { /* parent process */ if ((status = pidXwait(child_id, postproc))) { -- 1.7.10.4