]> granicus.if.org Git - php/commitdiff
WS fix
authorSascha Schumann <sas@php.net>
Mon, 8 Jan 2001 23:18:07 +0000 (23:18 +0000)
committerSascha Schumann <sas@php.net>
Mon, 8 Jan 2001 23:18:07 +0000 (23:18 +0000)
ext/standard/string.c

index 8c4c26d876bec259e2f88b857c09576e1f4d4963..f562c09eff7e955bc92a7740837ed3bc43966d4e 100644 (file)
@@ -3101,20 +3101,20 @@ PHP_FUNCTION(ob_iconv_handler)
 */
 PHP_FUNCTION(iconv_set_encoding)
 {
-    zval **int_charset, **out_charset;
+       zval **int_charset, **out_charset;
        BLS_FETCH();
 
-    if (ZEND_NUM_ARGS() != 2 || zend_get_parameters_ex(2, &int_charset, &out_charset) == FAILURE) {
-        WRONG_PARAM_COUNT;
-    }
+       if (ZEND_NUM_ARGS() != 2 || zend_get_parameters_ex(2, &int_charset, &out_charset) == FAILURE) {
+               WRONG_PARAM_COUNT;
+       }
 
-    convert_to_string_ex(int_charset);
-    convert_to_string_ex(out_charset);
+       convert_to_string_ex(int_charset);
+       convert_to_string_ex(out_charset);
 
        if (BG(iconv_internal_encoding)) {
                free(BG(iconv_internal_encoding));
        }
-       BG(iconv_internal_encoding) = estrndup(Z_STRVAL_PP(int_charset),Z_STRLEN_PP(int_charset));
+       BG(iconv_internal_encoding) = estrndup(Z_STRVAL_PP(int_charset), Z_STRLEN_PP(int_charset));
 
        if (BG(iconv_output_encoding)) {
                free(BG(iconv_output_encoding));