diff options
author | Mark Adler <madler@alumni.caltech.edu> | 2011-09-09 23:27:17 -0700 |
---|---|---|
committer | Mark Adler <madler@alumni.caltech.edu> | 2011-09-09 23:27:17 -0700 |
commit | e0ff940e1adb68d3575705ebf1546d9f07ad3b4a (patch) | |
tree | 792ac6996d1225c0955027050296126bc8ff6e26 /gzio.c | |
parent | 7df877eccdd826e94df53215f65dee639428e83f (diff) | |
download | zlib-1.2.3.8.tar.gz zlib-1.2.3.8.tar.bz2 zlib-1.2.3.8.zip |
zlib 1.2.3.8v1.2.3.8
Diffstat (limited to '')
-rw-r--r-- | gzio.c | 14 |
1 files changed, 7 insertions, 7 deletions
@@ -61,13 +61,13 @@ local char *strwinerror (error) | |||
61 | wchar_t *msgbuf; | 61 | wchar_t *msgbuf; |
62 | DWORD lasterr = GetLastError(); | 62 | DWORD lasterr = GetLastError(); |
63 | DWORD chars = FormatMessage(FORMAT_MESSAGE_FROM_SYSTEM | 63 | DWORD chars = FormatMessage(FORMAT_MESSAGE_FROM_SYSTEM |
64 | | FORMAT_MESSAGE_ALLOCATE_BUFFER, | 64 | | FORMAT_MESSAGE_ALLOCATE_BUFFER, |
65 | NULL, | 65 | NULL, |
66 | error, | 66 | error, |
67 | 0, /* Default language */ | 67 | 0, /* Default language */ |
68 | (LPVOID)&msgbuf, | 68 | (LPVOID)&msgbuf, |
69 | 0, | 69 | 0, |
70 | NULL); | 70 | NULL); |
71 | if (chars != 0) { | 71 | if (chars != 0) { |
72 | /* If there is an \r\n appended, zap it. */ | 72 | /* If there is an \r\n appended, zap it. */ |
73 | if (chars >= 2 | 73 | if (chars >= 2 |