comparison src/os/win32/ngx_errno.c @ 107:b5be4b0448d3

nginx-0.0.1-2003-07-01-19:00:03 import
author Igor Sysoev <igor@sysoev.ru>
date Tue, 01 Jul 2003 15:00:03 +0000
parents 6dfda4cf5200
children c1f3a3c7c5db
comparison
equal deleted inserted replaced
106:9f9de4deda7e 107:b5be4b0448d3
32 int n; 32 int n;
33 u_int len; 33 u_int len;
34 ngx_err_t format_error; 34 ngx_err_t format_error;
35 35
36 len = FormatMessage(FORMAT_MESSAGE_FROM_SYSTEM 36 len = FormatMessage(FORMAT_MESSAGE_FROM_SYSTEM
37 | FORMAT_MESSAGE_IGNORE_INSERTS, 37 |FORMAT_MESSAGE_IGNORE_INSERTS,
38 NULL, err, 38 NULL, err,
39 MAKELANGID(LANG_NEUTRAL, SUBLANG_DEFAULT), 39 MAKELANGID(LANG_NEUTRAL, SUBLANG_DEFAULT),
40 errstr, size, NULL); 40 errstr, size, NULL);
41 41
42 if (len == 0) { 42 if (len == 0) {