cvs: php4 /ext/standard http_fopen_wrapper.c
| From: | Ilia Alshanetsky | Date: | Thu, 20 Feb 2003 00:34:04 +0000 |
| Subject: | cvs: php4 /ext/standard http_fopen_wrapper.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-19025@lists.php.net to get a copy of this message | ||
iliaa Wed Feb 19 19:34:04 2003 EDT
Modified files:
/php4/ext/standard http_fopen_wrapper.c
Log:
Revert accidental commit.
Index: php4/ext/standard/http_fopen_wrapper.c
diff -u php4/ext/standard/http_fopen_wrapper.c:1.65 php4/ext/standard/http_fopen_wrapper.c:1.66
--- php4/ext/standard/http_fopen_wrapper.c:1.65 Wed Feb 19 19:32:51 2003
+++ php4/ext/standard/http_fopen_wrapper.c Wed Feb 19 19:34:03 2003
@@ -18,7 +18,7 @@
| Wez Furlong <wez@thebrainroom.com> |
+----------------------------------------------------------------------+
*/
-/* $Id: http_fopen_wrapper.c,v 1.65 2003/02/20 00:32:51 iliaa Exp $ */
+/* $Id: http_fopen_wrapper.c,v 1.66 2003/02/20 00:34:03 iliaa Exp $ */
#include "php.h"
#include "php_globals.h"
@@ -354,7 +354,7 @@
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 {