summaryrefslogtreecommitdiffstats
path: root/qmail-popup.c
diff options
context:
space:
mode:
authormanuel <manuel@mausz.at>2013-02-04 03:05:20 +0100
committermanuel <manuel@mausz.at>2013-02-04 03:05:20 +0100
commit1d9a7b97314b98a3fd5f0c378b4f3a23924fa595 (patch)
tree5cc24c0cd44dad9734dd748858eb14ef8668d7e6 /qmail-popup.c
parent47ec2c1bec6a5d9d2d204ee0757b58b7f94c45d4 (diff)
downloadqmail-1d9a7b97314b98a3fd5f0c378b4f3a23924fa595.tar.gz
qmail-1d9a7b97314b98a3fd5f0c378b4f3a23924fa595.tar.bz2
qmail-1d9a7b97314b98a3fd5f0c378b4f3a23924fa595.zip
[PATCH] Enable stderr logging from checkpassword programs
qmail-popupnofd2close
Diffstat (limited to 'qmail-popup.c')
-rw-r--r--qmail-popup.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/qmail-popup.c b/qmail-popup.c
index fbcc99b..5e6387a 100644
--- a/qmail-popup.c
+++ b/qmail-popup.c
@@ -88,7 +88,9 @@ char *pass;
88 int wstat; 88 int wstat;
89 int pi[2]; 89 int pi[2];
90 90
91#if 0 /* WHY the HELL? */
91 if (fd_copy(2,1) == -1) die_pipe(); 92 if (fd_copy(2,1) == -1) die_pipe();
93#endif
92 close(3); 94 close(3);
93 if (pipe(pi) == -1) die_pipe(); 95 if (pipe(pi) == -1) die_pipe();
94 if (pi[0] != 3) die_pipe(); 96 if (pi[0] != 3) die_pipe();