Mercurial > hg > mlmmj
changeset 170:a9115cfd8564
fileno(stdin) instead of FILENO_STDIN
author | mmj |
---|---|
date | Fri, 04 Jun 2004 02:58:22 +1000 |
parents | 6d3b77645857 |
children | f4051eb9504a |
files | src/mlmmj-recieve.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/mlmmj-recieve.c Fri Jun 04 02:57:14 2004 +1000 +++ b/src/mlmmj-recieve.c Fri Jun 04 02:58:22 2004 +1000 @@ -92,7 +92,7 @@ exit(EXIT_FAILURE); } - if(dumpfd2fd(STDIN_FILENO, fd) != 0) { + if(dumpfd2fd(fileno(stdin), fd) != 0) { log_error(LOG_ARGS, "Could not recieve mail"); exit(EXIT_FAILURE); }