Re: cvs: php-src /ext/tidy tidy.c

From: Date: Sun, 23 Apr 2006 16:59:09 +0000
Subject: Re: cvs: php-src /ext/tidy tidy.c
References: 1  Groups: php.cvs 
Request: Send a blank email to php-cvs+get-37903@lists.php.net to get a copy of this message
Looks fine if you're sure that the release date string will always contain only ASCII characters. -Andrei On Apr 23, 2006, at 5:56 AM, Nuno Lopes wrote:
-/* {{{ proto string tidy_get_release() +/* {{{ proto string tidy_get_release() U
    Get release date (version) for Tidy library */
PHP_FUNCTION(tidy_get_release) { @@ -1201,7 +1201,7 @@ WRONG_PARAM_COUNT; } - RETURN_STRING((char *)tidyReleaseDate(), 1); + RETURN_ASCII_STRING((char *)tidyReleaseDate(), ZSTR_DUPLICATE); } /* }}} */


« previous php.cvs (#37903) next »