Re: libidn2 extension for php
| From: | David Soria Parra | Date: | Wed, 23 Nov 2011 00:04:30 +0000 |
| Subject: | Re: libidn2 extension for php | ||
| References: | 1 2 3 4 5 6 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-56473@lists.php.net to get a copy of this message | ||
On 2011-11-21, "Gustavo Lopes" <glopes@nebm.ist.utl.pt> wrote:
>
> -static void php_intl_idn_to(INTERNAL_FUNCTION_PARAMETERS, int mode)
> +/* like INTL_CHECK_STATUS, but as a function and varying the name of the func */
> +static int php_intl_idn_check_status(UErrorCode err, const char *msg, int mode TSRMLS_DC)
> {
> - unsigned char* domain;
> - int domain_len;
> - long option = 0;
> + intl_error_set_code( NULL, err TSRMLS_CC );
> + if(U_FAILURE(err)) {
This looks like a mixture of tabs and whitespaces.