Yep it will always contain ASCII characters.
Thanks for your comment,
Nuno

----- Original 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);
 }
 /* }}} */

--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to