]> granicus.if.org Git - php/commitdiff
WS fix
authorfoobar <sniper@php.net>
Sun, 18 Nov 2001 03:34:23 +0000 (03:34 +0000)
committerfoobar <sniper@php.net>
Sun, 18 Nov 2001 03:34:23 +0000 (03:34 +0000)
ext/standard/file.c

index 0bfd0da89d3690a0d6ab5027d86e1c4ae9b2b71e..50c6c6855197e5622c85e6c95347d42dfcbef71c 100644 (file)
@@ -481,7 +481,7 @@ PHP_FUNCTION(file)
                break;
        case 2:
                if (zend_get_parameters_ex(2, &filename, &arg2) == FAILURE) {
-                               WRONG_PARAM_COUNT;
+                       WRONG_PARAM_COUNT;
                }
                convert_to_long_ex(arg2);
                use_include_path = Z_LVAL_PP(arg2);
@@ -527,13 +527,13 @@ PHP_FUNCTION(file)
                }
                if (!reached_eof) {
                        target_len += strlen(target_buf+target_len);
-                       if (target_buf[target_len-1]!='\n') {
+                       if (target_buf[target_len-1] != '\n') {
                                continue;
                        }
                }
                if (PG(magic_quotes_runtime)) {
                        slashed = php_addslashes(target_buf, target_len, &len, 1 TSRMLS_CC); /* 1 = free source string */
-            add_index_stringl(return_value, i++, slashed, len, 0);
+                       add_index_stringl(return_value, i++, slashed, len, 0);
                } else {
                        target_buf = erealloc(target_buf, target_len+1); /* do we really want to do that? */
                        add_index_stringl(return_value, i++, target_buf, target_len, 0);