Skip to content

Commit 4a73a75

Browse files
Add missing goto error; in EAGAIN case
1 parent 4338bb7 commit 4a73a75

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/io.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2528,6 +2528,7 @@ _dispatch_operation_perform(dispatch_operation_t op)
25282528
}
25292529
if (bSuccess && processed == 0) {
25302530
err = EAGAIN;
2531+
goto error;
25312532
}
25322533
} else {
25332534
bSuccess = WriteFile(hFile, buf, (DWORD)len,

0 commit comments

Comments
 (0)