summaryrefslogtreecommitdiffstats
path: root/mbbsd/io.c
diff options
context:
space:
mode:
Diffstat (limited to 'mbbsd/io.c')
-rw-r--r--mbbsd/io.c16
1 files changed, 14 insertions, 2 deletions
diff --git a/mbbsd/io.c b/mbbsd/io.c
index 584faa29..129aba90 100644
--- a/mbbsd/io.c
+++ b/mbbsd/io.c
@@ -151,11 +151,23 @@ dogetch()
/* raise(SIGHUP); */
}
- if (len == 0)
+ if (len == 0){
+#ifdef OUTTA_TIMER
+ now = SHM->GV2.e.now;
+#else
+ now = time(0);
+#endif
return I_TIMEOUT;
+ }
- if (i_newfd && FD_ISSET(i_newfd, &readfds))
+ if (i_newfd && FD_ISSET(i_newfd, &readfds)){
+#ifdef OUTTA_TIMER
+ now = SHM->GV2.e.now;
+#else
+ now = time(0);
+#endif
return I_OTHERDATA;
+ }
}
#ifdef NOKILLWATERBALL
if( currutmp && currutmp->msgcount && !reentrant_write_request )