Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
s/warnp/warn0/ for NETWORK_STATUS_CONNERR errors.
Originally we could rely on errno being meaningful at this point, but with the switch to using libcperciva's network_connect there's a possibility of getting a delayed failure callback since network_connect sometimes queues an immediate callback rather than making a direct call, in order to avoid problems with unbounded recursion. At some point in the future this might change back; libcperciva would need to save and restore errno appropriately first. (Junior hacker task!)
- Loading branch information