summaryrefslogtreecommitdiffstats
path: root/mbbsd/io.c
diff options
context:
space:
mode:
Diffstat (limited to 'mbbsd/io.c')
-rw-r--r--mbbsd/io.c13
1 files changed, 7 insertions, 6 deletions
diff --git a/mbbsd/io.c b/mbbsd/io.c
index b0331074..4bfd80cc 100644
--- a/mbbsd/io.c
+++ b/mbbsd/io.c
@@ -1,4 +1,4 @@
-/* $Id: io.c,v 1.7 2002/03/16 15:11:09 ptt Exp $ */
+/* $Id: io.c,v 1.8 2002/03/29 16:22:53 ptt Exp $ */
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
@@ -184,11 +184,12 @@ static int dogetch() {
return I_OTHERDATA;
}
- while((len = read(0, inbuf, IBUFSIZE)) <= 0) {
- if(len == 0 || errno != EINTR)
- abort_bbs(0);
- /* raise(SIGHUP); */
- }
+
+ while((len = read(0, inbuf, IBUFSIZE)) <= 0) {
+ if(len == 0 || errno != EINTR)
+ abort_bbs(0);
+ /* raise(SIGHUP); */
+ }
ibufsize = len;
icurrchar = 0;
}