1cc60c83f4
Fix a bug in miniserver.c, in which maxMiniSock was wrongly declared as unsigned int and as a result it was beeng set to ((unsigned int)(-1)). As a result, after beeing incremented, it became zero, and this value was beeing used in the select() call. Thanks to Fabrice Fontaine for helping and testing with this issue. (cherry picked from commit 2bdc9e075e33efa35f49e8a9766e75df9eb91420)