projects
/
php
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b73a73d
)
fix wrong error check
author
Anatol Belski
<ab@php.net>
Wed, 17 May 2017 10:50:41 +0000
(12:50 +0200)
committer
Anatol Belski
<ab@php.net>
Wed, 17 May 2017 10:50:41 +0000
(12:50 +0200)
win32/ioutil.h
patch
|
blob
|
history
diff --git
a/win32/ioutil.h
b/win32/ioutil.h
index 6714d57375c1ba67584c71a6060cf653888bfd01..1e781c665d854e86c28368812c61685c051177c5 100644
(file)
--- a/
win32/ioutil.h
+++ b/
win32/ioutil.h
@@
-370,7
+370,7
@@
__forceinline static FILE *php_win32_ioutil_fopen(const char *patha, const char
free(pathw);
free(modew);
- if (
0 >
ret) {
+ if (
!
ret) {
_set_errno(err);
}
return ret;