Module Name:    src
Committed By:   tls
Date:           Sun Aug 10 06:52:20 UTC 2014

Modified Files:
        src/lib/librumpclient [tls-earlyentropy]: rumpclient.c

Log Message:
Rebase.


To generate a diff of this commit:
cvs rdiff -u -r1.61 -r1.61.2.1 src/lib/librumpclient/rumpclient.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/lib/librumpclient/rumpclient.c
diff -u src/lib/librumpclient/rumpclient.c:1.61 src/lib/librumpclient/rumpclient.c:1.61.2.1
--- src/lib/librumpclient/rumpclient.c:1.61	Thu Apr  3 17:11:35 2014
+++ src/lib/librumpclient/rumpclient.c	Sun Aug 10 06:52:20 2014
@@ -1,4 +1,4 @@
-/*      $NetBSD: rumpclient.c,v 1.61 2014/04/03 17:11:35 pooka Exp $	*/
+/*      $NetBSD: rumpclient.c,v 1.61.2.1 2014/08/10 06:52:20 tls Exp $	*/
 
 /*
  * Copyright (c) 2010, 2011 Antti Kantee.  All Rights Reserved.
@@ -50,7 +50,7 @@
 #define USE_SIGNALFD
 #endif
 
-__RCSID("$NetBSD: rumpclient.c,v 1.61 2014/04/03 17:11:35 pooka Exp $");
+__RCSID("$NetBSD: rumpclient.c,v 1.61.2.1 2014/08/10 06:52:20 tls Exp $");
 
 #include <sys/param.h>
 #include <sys/mman.h>
@@ -292,7 +292,7 @@ cliwaitresp(struct spclient *spc, struct
 				pfd[1].events = POLLIN;
 
 				rv = host_poll(pfd, 2, -1);
-				if (pfd[1].revents & POLLIN) {
+				if (rv >= 1 && pfd[1].revents & POLLIN) {
 					dosig = 1;
 					goto cleanup;
 				}

Reply via email to