summaryrefslogtreecommitdiff
path: root/usr.sbin/popa3d/mailbox.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/popa3d/mailbox.c')
-rw-r--r--usr.sbin/popa3d/mailbox.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/popa3d/mailbox.c b/usr.sbin/popa3d/mailbox.c
index b67f2655838..a4e4027ee2b 100644
--- a/usr.sbin/popa3d/mailbox.c
+++ b/usr.sbin/popa3d/mailbox.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: mailbox.c,v 1.2 2001/09/21 20:22:06 camield Exp $ */
+/* $OpenBSD: mailbox.c,v 1.3 2002/03/27 14:08:43 camield Exp $ */
/*
* Mailbox access.
@@ -313,7 +313,7 @@ int mailbox_open(char *spool, char *mailbox)
return 0;
}
- mailbox_fd = open(pathname, O_RDWR | O_NOCTTY);
+ mailbox_fd = open(pathname, O_RDWR | O_NOCTTY | O_NONBLOCK);
free(pathname);