mirror of
https://github.com/prirun/p50em.git
synced 2026-03-10 12:18:24 +00:00
devpnc.h: check fd before FD_SET
If there is no socket connection, fd will be -1. On Ubuntu 18.04, gcc doesn't like adding -1 with FD_SET, and gives a buffer overflow abort.
This commit is contained in:
Reference in New Issue
Block a user