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
Fix listing a named queue by a non-admin user. Bug 2398
[exim.git]
/
test
/
src
/
fd.c
diff --git
a/test/src/fd.c
b/test/src/fd.c
index 12a8dbc487a3aa10e9d3d820dbc55b29b679a7b8..2dc12c6a7e290b7318bf87badfeb0dbcb6a375cd 100644
(file)
--- a/
test/src/fd.c
+++ b/
test/src/fd.c
@@
-50,7
+50,8
@@
if (filter)
{
int len;
while ((len = read(0, buffer, sizeof(buffer))) > 0)
- write(1, buffer, len);
+ if (write(1, buffer, len) < 0)
+ exit(1);
}
p += sprintf(p, "max fd = %d\n", (int)mac_maxfd);