diff options
author | Sergey Poznyakoff <gray@gnu.org.ua> | 2011-03-21 17:49:54 +0200 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org.ua> | 2011-03-25 01:53:22 +0200 |
commit | 6b75d850ada2144a9fa94867c0ea2ad112850f14 (patch) | |
tree | 801353374ded53b4e3ba39c5bb2e9951c497e640 | |
parent | b0a714eca5dd2eb61db3a7c922216ff357d109d7 (diff) | |
download | mailfromd-6b75d850ada2144a9fa94867c0ea2ad112850f14.tar.gz mailfromd-6b75d850ada2144a9fa94867c0ea2ad112850f14.tar.bz2 |
mtasim: minor improvement (backport of c7789edc)
* mtasim/mtasim.c (start_mailfromd): Print mailfromd PID in verbose mode.
Backport from a post-7.0 commit.
-rw-r--r-- | mtasim/mtasim.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/mtasim/mtasim.c b/mtasim/mtasim.c index 22b11bcf..cf558560 100644 --- a/mtasim/mtasim.c +++ b/mtasim/mtasim.c @@ -805,6 +805,9 @@ start_mailfromd (int argc, char **argv) exit (127); } + if (verbose) + fprintf (stderr, "mailfromd PID: %lu\n", (unsigned long) child_pid); + while (access (milter_port + 5, F_OK)) { struct timeval tv; |