From 2787a24f86d9b73f0fee40e4104b567113ee8e6b Mon Sep 17 00:00:00 2001 From: Joe Watkins Date: Thu, 28 Apr 2016 15:52:30 +0100 Subject: [PATCH] simplify expression --- main/fopen_wrappers.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main/fopen_wrappers.c b/main/fopen_wrappers.c index ab51e5e58b..c3646ee0fd 100644 --- a/main/fopen_wrappers.c +++ b/main/fopen_wrappers.c @@ -647,7 +647,7 @@ PHPAPI FILE *php_fopen_with_path(const char *filename, const char *mode, const c if ((*filename == '.') /* Absolute path open */ || IS_ABSOLUTE_PATH(filename, filename_length) - || (!path || (path && !*path)) + || (!path || !*path) ) { return php_fopen_and_set_opened_path(filename, mode, opened_path); } -- 2.50.1