cvs: php4 /ext/standard string.c
| From: | Sascha Schumann | Date: | Mon, 08 Jan 2001 23:18:08 +0000 |
| Subject: | cvs: php4 /ext/standard string.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-3495@lists.php.net to get a copy of this message | ||
sas Mon Jan 8 15:18:08 2001 EDT
Modified files:
/php4/ext/standard string.c
Log:
WS fix
Index: php4/ext/standard/string.c
diff -u php4/ext/standard/string.c:1.180 php4/ext/standard/string.c:1.181
--- php4/ext/standard/string.c:1.180 Mon Jan 8 15:13:57 2001
+++ php4/ext/standard/string.c Mon Jan 8 15:18:07 2001
@@ -18,7 +18,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: string.c,v 1.180 2001/01/08 23:13:57 sas Exp $ */
+/* $Id: string.c,v 1.181 2001/01/08 23:18:07 sas Exp $ */
/* Synced with php 3.0 revision 1.193 1999-06-16 [ssb] */
@@ -3101,20 +3101,20 @@
*/
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));