]> granicus.if.org Git - php/commitdiff
MFH(r-1.189): more accurate fix for bug #25140
authorMoriyoshi Koizumi <moriyoshi@php.net>
Tue, 19 Aug 2003 14:49:39 +0000 (14:49 +0000)
committerMoriyoshi Koizumi <moriyoshi@php.net>
Tue, 19 Aug 2003 14:49:39 +0000 (14:49 +0000)
ext/mbstring/mbstring.c

index b0939cebc19fa7dd70749bcb923023fbed400dea..7e53e7e3509eb7b1c3ef94e3538d092e4aa92673 100644 (file)
@@ -2485,7 +2485,7 @@ MBSTRING_API char * php_mb_convert_encoding(char *input, size_t length, char *_t
        if (output_len) {
                *output_len = 0;
        }
-       if ( !input || !length) {
+       if (!input) {
                return NULL;
        }
        /* new encoding */