]> granicus.if.org Git - php/commit
Avoid uninit warnin in http_fopen_wrapper
authorNikita Popov <nikita.ppv@gmail.com>
Fri, 12 Apr 2019 13:00:55 +0000 (15:00 +0200)
committerNikita Popov <nikita.ppv@gmail.com>
Fri, 12 Apr 2019 13:12:45 +0000 (15:12 +0200)
commit41c4816157bc0201b30877591fb595686d665748
tree89880b148ca3cde9e845f082b4fc30dddb8b7534
parent176fe4b679be5a11c721050619e1b21664c948c4
Avoid uninit warnin in http_fopen_wrapper

This one looks semi-legit, in case php_stream_eof() returns false
but php_stream_get_line() fails. Not totally sure this cannot
happen, so rewriting to check both conditions at once.
ext/standard/http_fopen_wrapper.c