Merge pull request #9058 from adenovan/ptp

ptp connect fix solved #8983 for android with high latency
This commit is contained in:
Henrik Rydgård authored and GitHub committed 2016-10-12 19:31:27 +02:00
commit a141ee3bf4
1 file changed
+1 -1
+1 -1
View File
@@ -76,7 +76,7 @@ inline bool connectInProgress(int errcode){ return (errcode == WSAEWOULDBLOCK ||
#define SOCKET_ERROR -1
#define closesocket close
#define PACK __attribute__((packed))
inline bool connectInProgress(int errcode){ return (errcode == EINPROGRESS); }
inline bool connectInProgress(int errcode){ return (errcode == EINPROGRESS || errcode == EALREADY); }
#endif
#ifndef POLL_ERR