diff options
author | Xinchen Hui <laruence@php.net> | 2015-03-04 11:43:04 +0800 |
---|---|---|
committer | Xinchen Hui <laruence@php.net> | 2015-03-04 11:43:04 +0800 |
commit | 4ebfc02274c3de9c32c649aa965713d9f1c04945 (patch) | |
tree | 66f477634ca0a8b0d168ca81bee25b932de404af | |
parent | abfdf3bf524c6a31e9b1dda2ab46afa8228e38d3 (diff) | |
parent | 2dac92b244eef1575a5a0487fe8b615be1a9e294 (diff) | |
download | php-git-4ebfc02274c3de9c32c649aa965713d9f1c04945.tar.gz |
Merge branch 'master' of https://git.php.net/repository/php-src
-rw-r--r-- | main/streams/streams.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/main/streams/streams.c b/main/streams/streams.c index 16149fbc92..c47fe0d940 100644 --- a/main/streams/streams.c +++ b/main/streams/streams.c @@ -1829,7 +1829,9 @@ PHPAPI php_stream_wrapper *php_stream_locate_url_wrapper(const char *path, const if (localhost == 1) { (*path_for_open) += 11; } - while (*(++*path_for_open)=='/'); + while (*(++*path_for_open)=='/') { + /* intentionally empty */ + } #ifdef PHP_WIN32 if (*(*path_for_open + 1) != ':') #endif |