aboutsummaryrefslogtreecommitdiffstats
path: root/lib-src/movemail.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib-src/movemail.c')
-rw-r--r--lib-src/movemail.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib-src/movemail.c b/lib-src/movemail.c
index d3ec1fcd178..1f73ee88ba8 100644
--- a/lib-src/movemail.c
+++ b/lib-src/movemail.c
@@ -466,6 +466,8 @@ main (argc, argv)
466 while (1) 466 while (1)
467 { 467 {
468 nread = read (indesc, buf, sizeof buf); 468 nread = read (indesc, buf, sizeof buf);
469 if (nread < 0)
470 pfatal_with_name (inname);
469 if (nread != write (outdesc, buf, nread)) 471 if (nread != write (outdesc, buf, nread))
470 { 472 {
471 int saved_errno = errno; 473 int saved_errno = errno;