aboutsummaryrefslogtreecommitdiff
path: root/xorg-server/os/io.c
diff options
context:
space:
mode:
Diffstat (limited to 'xorg-server/os/io.c')
-rw-r--r--xorg-server/os/io.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/xorg-server/os/io.c b/xorg-server/os/io.c
index ebb821653..8a2207081 100644
--- a/xorg-server/os/io.c
+++ b/xorg-server/os/io.c
@@ -951,6 +951,7 @@ FlushClient(ClientPtr who, OsCommPtr oc, const void *__extraBuf, int extraCount)
/* If we've arrived here, then the client is stuffed to the gills
and not ready to accept more. Make a note of it and buffer
the rest. */
+ errno=0;
FD_SET(connection, &ClientsWriteBlocked);
AnyClientsWriteBlocked = TRUE;