]> granicus.if.org Git - php/commitdiff
fixed a bug in mailparse_stream_encode which would default to a random encoding ...
authorWez Furlong <wez@php.net>
Sun, 20 May 2001 11:43:55 +0000 (11:43 +0000)
committerWez Furlong <wez@php.net>
Sun, 20 May 2001 11:43:55 +0000 (11:43 +0000)
# oops

ext/mailparse/mailparse.c

index f8d2514e383e94ffce01b53ba9e104ec667b0c46..78ec53f4585678c211ddd25d627cd295b1c91622 100755 (executable)
@@ -314,9 +314,6 @@ PHP_FUNCTION(mailparse_stream_encode)
                                );
                RETURN_FALSE;
        }
-       
-       convert_to_long_ex(encod);
-       enc = Z_LVAL_PP(encod);
 
        buf = emalloc(bufsize);
        RETVAL_TRUE;