In the file Networking.cpp in line 242 there in a bug. The return value of select is checked for EINTR. When an error occures select will return -1 and then you have to check errno. As the code stands downloads will be interrupted for no reason when and EINTR even happens. This makes downloading sheep a game of chance and places an unnecessary load on the server
Hi,
In the file Networking.cpp in line 242 there in a bug. The return value of select is checked for EINTR. When an error occures select will return -1 and then you have to check errno. As the code stands downloads will be interrupted for no reason when and EINTR even happens. This makes downloading sheep a game of chance and places an unnecessary load on the server
Instead of this
ifndef WIN32
endif
the code should be
ifndef WIN32
endif