mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02:00
fix wrong error check
This commit is contained in:
parent
b73a73da25
commit
6e3d24bcf4
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue