Skip to content

Commit a1a3efc

Browse files
committed
Botched refactor of writeKeyList.
1 parent 12c9139 commit a1a3efc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/src/main/java/org/jruby/util/io/SelectExecutor.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,7 @@ private int maxReadReadySize() {
234234

235235
private int maxWriteReadySize() {
236236
int size = 0;
237-
if (writeKeyList != null) size += readKeyList.size();
237+
if (writeKeyList != null) size += writeKeyList.size();
238238
if (unselectableWriteFDs != null) size += unselectableWriteFDs.size();
239239
return size;
240240
}

0 commit comments

Comments
 (0)