Latest update - 7586

This commit is contained in:
2019-10-24 20:58:54 +09:00
parent 50320dd197
commit 8be97f4f6c
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -22,7 +22,7 @@ ngx_strerror(ngx_err_t err, u_char *errstr, size_t size)
len = FormatMessage(FORMAT_MESSAGE_FROM_SYSTEM,
NULL, err, lang, (char *) errstr, size, NULL);
if (len == 0 && lang && GetLastError() == ERROR_RESOURCE_LANG_NOT_FOUND) {
if (len == 0 && lang) {
/*
* Try to use English messages first and fallback to a language,
+1 -1
View File
@@ -240,7 +240,7 @@ ngx_os_init(ngx_log_t *log)
goto nopoll;
}
WSAPoll = (ngx_wsapoll_pt) GetProcAddress(hmod, "WSAPoll");
WSAPoll = (ngx_wsapoll_pt) (void *) GetProcAddress(hmod, "WSAPoll");
if (WSAPoll == NULL) {
ngx_log_error(NGX_LOG_NOTICE, log, ngx_errno,
"GetProcAddress(\"WSAPoll\") failed");