From 69094da0e8753f23266657dc6e94273ae8f75947 Mon Sep 17 00:00:00 2001 From: Ilia Alshanetsky Date: Thu, 20 Feb 2003 00:34:03 +0000 Subject: [PATCH] Revert accidental commit. --- ext/standard/http_fopen_wrapper.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/standard/http_fopen_wrapper.c b/ext/standard/http_fopen_wrapper.c index d869d17099d..e6da6578827 100644 --- a/ext/standard/http_fopen_wrapper.c +++ b/ext/standard/http_fopen_wrapper.c @@ -354,7 +354,7 @@ php_stream *php_stream_url_wrap_http(php_stream_wrapper *wrapper, char *path, ch s = resource->path; *s = '/'; } - *(s + 1) = '\0'; + s[1] = '\0'; if (resource->path && *(resource->path) == '/' && *(resource->path + 1) == '\0') { snprintf(loc_path, sizeof(loc_path) - 1, "%s%s", resource->path, location); } else {