Merge branch 'fixes' into develop

pull/793/merge
Roger A. Light 8 years ago
commit e90a32835b

@ -675,6 +675,9 @@ ssize_t net__read(struct mosquitto *mosq, void *buf, size_t count)
net__print_ssl_error(mosq);
errno = EPROTO;
}
#ifdef WIN32
WSASetLastError(errno);
#endif
}
return (ssize_t )ret;
}else{

@ -202,6 +202,7 @@ int main(int argc, char *argv[])
int rc;
#ifdef WIN32
SYSTEMTIME st;
_setmaxstdio(2048);
#else
struct timeval tv;
#endif

Loading…
Cancel
Save