ref: 0cb2e6a1ed56bfebbc7904123ba195d1d64de748
parent: ffb04b7cfd3d92b89d0db7fa2ea2cc073804bff3
author: zamfofex <zamfofex@twdb.moe>
date: Mon Dec 11 14:45:34 EST 2023
fix small style inconsistency
--- a/tools/lichess.c
+++ b/tools/lichess.c
@@ -99,7 +99,8 @@
for (;;)
{write_length = write(fd, buffer, length);
- if (write_length <= 0) {+ if (write_length <= 0)
+ {if (write_length < 0 && errno == EINTR) continue;
return -1;
}
--
⑨