Home
last modified time | relevance | path

Searched refs:loc_path (Results 1 – 1 of 1) sorted by relevance

/php-src/ext/standard/
H A Dhttp_fopen_wrapper.c853 char loc_path[HTTP_HEADER_BLOCK_SIZE]; in php_stream_url_wrap_http_ex() local
878 snprintf(loc_path, sizeof(loc_path) - 1, "%s%s", ZSTR_VAL(resource->path), location); in php_stream_url_wrap_http_ex()
880 snprintf(loc_path, sizeof(loc_path) - 1, "%s/%s", ZSTR_VAL(resource->path), location); in php_stream_url_wrap_http_ex()
883 snprintf(loc_path, sizeof(loc_path) - 1, "/%s", location); in php_stream_url_wrap_http_ex()
886 strlcpy(loc_path, location, sizeof(loc_path)); in php_stream_url_wrap_http_ex()
889 …1, "%s://%s:%d%s", ZSTR_VAL(resource->scheme), ZSTR_VAL(resource->host), resource->port, loc_path); in php_stream_url_wrap_http_ex()
891 …sizeof(new_path) - 1, "%s://%s%s", ZSTR_VAL(resource->scheme), ZSTR_VAL(resource->host), loc_path); in php_stream_url_wrap_http_ex()

Completed in 7 milliseconds