summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWez Furlong <wez@php.net>2003-05-14 19:10:02 +0000
committerWez Furlong <wez@php.net>2003-05-14 19:10:02 +0000
commit8307e2c3294f9732d4c84c06fe3a8a1b7d9d813f (patch)
treed186feb578cae02cb7b02caf6a888cca956f85ce
parent5c48a21bcc00df7544c1be80a254d5bdb2ed8659 (diff)
downloadphp-git-8307e2c3294f9732d4c84c06fe3a8a1b7d9d813f.tar.gz
4, not 3 :)
-rwxr-xr-xmain/streams.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/streams.c b/main/streams.c
index 47c4d83276..8214545f9b 100755
--- a/main/streams.c
+++ b/main/streams.c
@@ -2222,7 +2222,7 @@ PHPAPI int _php_stream_cast(php_stream *stream, int castas, void **ret, int show
if (show_err) {
/* these names depend on the values of the PHP_STREAM_AS_XXX defines in php_streams.h */
- static const char *cast_names[3] = {
+ static const char *cast_names[4] = {
"STDIO FILE*", "File Descriptor", "Socket Descriptor", "select()able descriptor"
};