summaryrefslogtreecommitdiff
path: root/scope.c
diff options
context:
space:
mode:
Diffstat (limited to 'scope.c')
-rw-r--r--scope.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/scope.c b/scope.c
index 9b0ddf9..e665255 100644
--- a/scope.c
+++ b/scope.c
@@ -1134,7 +1134,7 @@ FlushFD (
FD_SET(PeerFD, &BlockedReadDescriptors);
}
if (FDinfo[fd].buflimit != FDinfo[fd].bufdelivered) {
- FD_SET(PeerFD, &WriteDescriptors);
+ FD_SET(fd, &WriteDescriptors);
}
}
}