diff src/event-stream.c @ 82:6a378aca36af r20-0b91

Import from CVS: tag r20-0b91
author cvs
date Mon, 13 Aug 2007 09:07:36 +0200
parents 1ce6082ce73f
children 364816949b59
line wrap: on
line diff
--- a/src/event-stream.c	Mon Aug 13 09:06:45 2007 +0200
+++ b/src/event-stream.c	Mon Aug 13 09:07:36 2007 +0200
@@ -2429,7 +2429,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. */