GitHub user GZShi opened a pull request: https://github.com/apache/thrift/pull/1153
fix a bug in windows The `SOCKET` type is defined as a unsigned number in windows, the `evutil_socket_t` variables are always large than zero, therefore the condition not work well here. You can merge this pull request into a Git repository by running: $ git pull https://github.com/GZShi/thrift master Alternatively you can review and apply these changes as the patch at: https://github.com/apache/thrift/pull/1153.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #1153 ---- commit 46d73d3d0e0819d6d95805f4b228e3e3c8408082 Author: gzshi <shgzone.h...@gmail.com> Date: 2017-01-06T02:47:03Z fix a bug in windows The `SOCKET` type is defined as a unsigned number in windows, the `evutil_socket_t` variables are always large than zero, therefore the condition not work well here. ---- --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---