cvs: php-src /ext/standard http_fopen_wrapper.c
| From: | Ilia Alshanetsky | Date: | Sun, 16 Apr 2006 17:41:26 +0000 |
| Subject: | cvs: php-src /ext/standard http_fopen_wrapper.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-37821@lists.php.net to get a copy of this message | ||
iliaa Sun Apr 16 17:41:26 2006 UTC
Modified files:
/php-src/ext/standard http_fopen_wrapper.c
Log:
MFB51: fixed typo
http://cvs.php.net/viewcvs.cgi/php-src/ext/standard/http_fopen_wrapper.c?r1=1.114&r2=1.115&diff_format=u
Index: php-src/ext/standard/http_fopen_wrapper.c
diff -u php-src/ext/standard/http_fopen_wrapper.c:1.114
php-src/ext/standard/http_fopen_wrapper.c:1.115
--- php-src/ext/standard/http_fopen_wrapper.c:1.114 Sun Apr 16 16:55:25 2006
+++ php-src/ext/standard/http_fopen_wrapper.c Sun Apr 16 17:41:26 2006
@@ -19,7 +19,7 @@
| Sara Golemon <pollita@php.net> |
+----------------------------------------------------------------------+
*/
-/* $Id: http_fopen_wrapper.c,v 1.114 2006/04/16 16:55:25 iliaa Exp $ */
+/* $Id: http_fopen_wrapper.c,v 1.115 2006/04/16 17:41:26 iliaa Exp $ */
#include "php.h"
#include "php_globals.h"
@@ -691,7 +691,7 @@
} \
} \
/* check for control characters in login, password & path */
- if (strncasecmp(newpath, "http://", sizeof("http://") - 1) || strncasecmp(newpath, "https://", sizeof("https://")
- 1) {
+ if (strncasecmp(new_path, "http://", sizeof("http://") - 1) || strncasecmp(new_path, "https://", sizeof("https://")
- 1)) {
CHECK_FOR_CNTRL_CHARS(resource->user)
CHECK_FOR_CNTRL_CHARS(resource->pass)
CHECK_FOR_CNTRL_CHARS(resource->path)