Skip to content

Commit a6ff74d

Browse files
committed
Fix typo in error message
1 parent f7d1d3e commit a6ff74d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ext/standard/http_fopen_wrapper.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ php_stream *php_stream_url_wrap_http_ex(php_stream_wrapper *wrapper, char *path,
180180
smart_str_append_unsigned(&header, resource->port);
181181
smart_str_appendl(&header, " HTTP/1.0\r\n\r\n", sizeof(" HTTP/1.0\r\n\r\n")-1);
182182
if (php_stream_write(stream, header.c, header.len) != header.len) {
183-
php_stream_wrapper_log_error(wrapper, options TSRMLS_CC, "Cannot conect to HTTPS server through proxy");
183+
php_stream_wrapper_log_error(wrapper, options TSRMLS_CC, "Cannot connect to HTTPS server through proxy");
184184
php_stream_close(stream);
185185
stream = NULL;
186186
}
@@ -203,7 +203,7 @@ php_stream *php_stream_url_wrap_http_ex(php_stream_wrapper *wrapper, char *path,
203203
if (stream) {
204204
if (php_stream_xport_crypto_setup(stream, STREAM_CRYPTO_METHOD_SSLv23_CLIENT, NULL TSRMLS_CC) < 0 ||
205205
php_stream_xport_crypto_enable(stream, 1 TSRMLS_CC) < 0) {
206-
php_stream_wrapper_log_error(wrapper, options TSRMLS_CC, "Cannot conect to HTTPS server through proxy");
206+
php_stream_wrapper_log_error(wrapper, options TSRMLS_CC, "Cannot connect to HTTPS server through proxy");
207207
php_stream_close(stream);
208208
stream = NULL;
209209
}

0 commit comments

Comments
 (0)