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 cf5e8f933..1303f3ab1 100644
--- a/xorg-server/os/io.c
+++ b/xorg-server/os/io.c
@@ -949,6 +949,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;