16 lines
412 B
Diff
16 lines
412 B
Diff
--- a/hw/vnc/sockets.c 2008-12-11 20:30:21.000000000 +0100
|
|
+++ b/hw/vnc/sockets.c 2008-12-17 14:09:17.539288000 +0100
|
|
@@ -490,8 +490,10 @@
|
|
n = select(sock+1, NULL, &fds, NULL, &tv);
|
|
#if 1
|
|
if (n < 0) {
|
|
- rfbLogPerror("WriteExact: select");
|
|
- return n;
|
|
+ if (errno != EINTR) {
|
|
+ rfbLogPerror("WriteExact: select");
|
|
+ return n;
|
|
+ }
|
|
}
|
|
if (n == 0) {
|
|
totalTimeWaited += 5000;
|