summaryrefslogtreecommitdiff
path: root/main
diff options
context:
space:
mode:
authorPierrick Charron <pierrick@php.net>2011-04-03 21:46:52 +0000
committerPierrick Charron <pierrick@php.net>2011-04-03 21:46:52 +0000
commit1368364469571507b56358e3fe210aaaaea35a07 (patch)
treeb41fc183aa432b16b67a1096881da00cc0b35fd1 /main
parent9e05a9ad1310018a6f5797c7e32ae0d0cbd9cb69 (diff)
downloadphp-git-1368364469571507b56358e3fe210aaaaea35a07.tar.gz
Fix common typos in the source code (Reported in Bug #54065)
# External libraries were excluded # Thanks eitan at eitanadler dot com for the first patch :)
Diffstat (limited to 'main')
-rw-r--r--main/streams/php_stream_context.h2
-rw-r--r--main/streams/php_stream_filter_api.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/main/streams/php_stream_context.h b/main/streams/php_stream_context.h
index 6308a6e9f5..51dbd2de62 100644
--- a/main/streams/php_stream_context.h
+++ b/main/streams/php_stream_context.h
@@ -31,7 +31,7 @@ typedef void (*php_stream_notification_func)(php_stream_context *context,
/* Attempt to fetch context from the zval passed,
If no context was passed, use the default context
- The the default context has not yet been created, do it now. */
+ The default context has not yet been created, do it now. */
#define php_stream_context_from_zval(zcontext, nocontext) ( \
(zcontext) ? zend_fetch_resource(&(zcontext) TSRMLS_CC, -1, "Stream-Context", NULL, 1, php_le_stream_context(TSRMLS_C)) : \
(nocontext) ? NULL : \
diff --git a/main/streams/php_stream_filter_api.h b/main/streams/php_stream_filter_api.h
index aebe9271d4..a4cefb4ed4 100644
--- a/main/streams/php_stream_filter_api.h
+++ b/main/streams/php_stream_filter_api.h
@@ -27,7 +27,7 @@
*
* Each stream can have a chain of filters for reading and another for writing.
*
- * When data is written to the stream, is is placed into a bucket and placed at
+ * When data is written to the stream, it is placed into a bucket and placed at
* the start of the input brigade.
*
* The first filter in the chain is invoked on the brigade and (depending on