bjori Sun Jan 14 14:22:41 2007 UTC
Modified files: (Branch: PHP_5_2)
/php-src/ext/standard http_fopen_wrapper.c
Log:
Fix typo in error message
http://cvs.php.net/viewvc.cgi/php-src/ext/standard/http_fopen_wrapper.c?r1=1.99.2.12.2.4&r2=1.99.2.12.2.5&diff_format=u
Index: php-src/ext/standard/http_fopen_wrapper.c
diff -u php-src/ext/standard/http_fopen_wrapper.c:1.99.2.12.2.4
php-src/ext/standard/http_fopen_wrapper.c:1.99.2.12.2.5
--- php-src/ext/standard/http_fopen_wrapper.c:1.99.2.12.2.4 Mon Jan 1
09:36:08 2007
+++ php-src/ext/standard/http_fopen_wrapper.c Sun Jan 14 14:22:40 2007
@@ -19,7 +19,7 @@
| Sara Golemon <[EMAIL PROTECTED]> |
+----------------------------------------------------------------------+
*/
-/* $Id: http_fopen_wrapper.c,v 1.99.2.12.2.4 2007/01/01 09:36:08 sebastian Exp
$ */
+/* $Id: http_fopen_wrapper.c,v 1.99.2.12.2.5 2007/01/14 14:22:40 bjori Exp $
*/
#include "php.h"
#include "php_globals.h"
@@ -180,7 +180,7 @@
smart_str_append_unsigned(&header, resource->port);
smart_str_appendl(&header, " HTTP/1.0\r\n\r\n", sizeof("
HTTP/1.0\r\n\r\n")-1);
if (php_stream_write(stream, header.c, header.len) !=
header.len) {
- php_stream_wrapper_log_error(wrapper, options
TSRMLS_CC, "Cannot conect to HTTPS server through proxy");
+ php_stream_wrapper_log_error(wrapper, options
TSRMLS_CC, "Cannot connect to HTTPS server through proxy");
php_stream_close(stream);
stream = NULL;
}
@@ -203,7 +203,7 @@
if (stream) {
if (php_stream_xport_crypto_setup(stream,
STREAM_CRYPTO_METHOD_SSLv23_CLIENT, NULL TSRMLS_CC) < 0 ||
php_stream_xport_crypto_enable(stream, 1 TSRMLS_CC)
< 0) {
- php_stream_wrapper_log_error(wrapper, options
TSRMLS_CC, "Cannot conect to HTTPS server through proxy");
+ php_stream_wrapper_log_error(wrapper, options
TSRMLS_CC, "Cannot connect to HTTPS server through proxy");
php_stream_close(stream);
stream = NULL;
}
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php