Skip to content

Instantly share code, notes, and snippets.

@jpleau
Created February 10, 2014 01:09
Show Gist options
  • Save jpleau/8908623 to your computer and use it in GitHub Desktop.
Save jpleau/8908623 to your computer and use it in GitHub Desktop.
diff --git a/os/io.c b/os/io.c
index 8181a86..fa024ce 100644
--- a/os/io.c
+++ b/os/io.c
@@ -843,7 +843,7 @@ WriteToClient(ClientPtr who, int count, const void *__buf)
}
}
#endif
- if (oco->count == 0 || oco->count + count + padBytes > oco->size) {
+ if (oco->count + count + padBytes > oco->size) {
FD_CLR(oc->fd, &OutputPending);
if (!XFD_ANYSET(&OutputPending)) {
CriticalOutputPending = FALSE;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment