]> granicus.if.org Git - php/commitdiff
fix ZTS build
authorAntony Dovgal <tony2001@php.net>
Thu, 28 Dec 2006 15:03:19 +0000 (15:03 +0000)
committerAntony Dovgal <tony2001@php.net>
Thu, 28 Dec 2006 15:03:19 +0000 (15:03 +0000)
ext/standard/file.c

index c3b20f23a5c232526697e27b1e4f2751bb8c029c..e57305a3a23f44b23ee176f1002ba0cb4fba84e9 100644 (file)
@@ -1288,7 +1288,7 @@ PHP_FUNCTION(fscanf)
        }
 
        if (((php_stream *)what)->readbuf_type == IS_UNICODE) {
-               u_buf = php_stream_u_get_line((php_stream *) what, NULL_ZSTR, 0, 0, NULL TSRMLS_CC);
+               u_buf = php_stream_u_get_line((php_stream *) what, NULL_ZSTR, 0, 0, NULL);
                if (u_buf == NULL) {
                        efree(args);
                        RETURN_FALSE;