diff options
author | Joe Watkins <krakjoe@php.net> | 2016-04-28 15:50:27 +0100 |
---|---|---|
committer | Joe Watkins <krakjoe@php.net> | 2016-04-28 15:50:27 +0100 |
commit | f580540c8d5ea08a9e3ea8a5ed6c19344ca84066 (patch) | |
tree | 175bb723af22636d5b25f85a8f0b62b83465d07b /main/streams/plain_wrapper.c | |
parent | 64721f143a4f0351c245ac656a5e9fccff57d008 (diff) | |
download | php-git-f580540c8d5ea08a9e3ea8a5ed6c19344ca84066.tar.gz |
simplify expression
Diffstat (limited to 'main/streams/plain_wrapper.c')
-rw-r--r-- | main/streams/plain_wrapper.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/main/streams/plain_wrapper.c b/main/streams/plain_wrapper.c index 8c9a888845..d510c909a7 100644 --- a/main/streams/plain_wrapper.c +++ b/main/streams/plain_wrapper.c @@ -1484,7 +1484,7 @@ not_relative_path: } #endif - if (!path || (path && !*path)) { + if (!path || !*path) { return php_stream_fopen_rel(filename, mode, opened_path, options); } |