Re: cvs: php-src /ext/tidy tidy.c
| From: | Nuno Lopes | Date: | Sun, 23 Apr 2006 17:06:46 +0000 |
| Subject: | Re: cvs: php-src /ext/tidy tidy.c | ||
| References: | 1 2 | Groups: | php.cvs |
| Request: | Send a blank email to php-cvs+get-37904@lists.php.net to get a copy of this message | ||
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() UGet 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); } /* }}} */