]> granicus.if.org Git - php/commitdiff
fix ts buld php-5.6.19RC1
authorAnatol Belski <ab@php.net>
Thu, 18 Feb 2016 06:11:36 +0000 (07:11 +0100)
committerFerenc Kovacs <tyrael@php.net>
Thu, 18 Feb 2016 09:31:24 +0000 (10:31 +0100)
sapi/cli/php_cli_server.c

index 169c05b88e8a4100e8648d05f7b9ec54542a9ca4..82bd573b568ed10a5d567d7be8566a7e3c390c1e 100644 (file)
@@ -2067,7 +2067,7 @@ static int php_cli_server_begin_send_static(php_cli_server *server, php_cli_serv
        if (client->request.path_translated &&
                ('.' == client->request.path_translated[client->request.path_translated_len-1] ||
                 ' ' == client->request.path_translated[client->request.path_translated_len-1])) {
-               return php_cli_server_send_error_page(server, client, 500);
+               return php_cli_server_send_error_page(server, client, 500 TSRMLS_CC);
        }
 #endif