]> granicus.if.org Git - php/commitdiff
4, not 3 :)
authorWez Furlong <wez@php.net>
Wed, 14 May 2003 19:10:02 +0000 (19:10 +0000)
committerWez Furlong <wez@php.net>
Wed, 14 May 2003 19:10:02 +0000 (19:10 +0000)
main/streams.c

index 47c4d8327669fcbb6be0a78d4fed2a47f771039e..8214545f9b736ffd4b45869cd6e85dc439c91069 100755 (executable)
@@ -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"
                };