diff src/event-stream.c @ 16:0293115a14e9 r19-15b91

Import from CVS: tag r19-15b91
author cvs
date Mon, 13 Aug 2007 08:49:20 +0200
parents 9ee227acff29
children 859a2309aef8
line wrap: on
line diff
--- a/src/event-stream.c	Mon Aug 13 08:48:43 2007 +0200
+++ b/src/event-stream.c	Mon Aug 13 08:49:20 2007 +0200
@@ -2432,7 +2432,7 @@
 	 || (!EQ (result, Qt) && event_stream_event_pending_p (0)))
     {
       /* If our timeout has arrived, we move along. */
-      if (!event_stream_wakeup_pending_p (timeout_id, 0))
+      if (timeout_enabled && !event_stream_wakeup_pending_p (timeout_id, 0))
 	{
 	  timeout_enabled = 0;
 	  process = Qnil;	/* We're  done. */