mirror of
https://github.com/weechat/weechat.git
synced 2026-06-25 20:36:38 +02:00
b12412ed17
When signals (e.g. SIGWINCH for terminal resize) are fired they cause poll to fail with EINTR, erroring file receival even when there wasn't a problem with it. This patch adds additional checks for EINTR and EAGAIN that cause retry of poll, since both are unrelated to actual file receival.