cvs: /php4 main.c

From: Date: Sun, 05 Sep 1999 05:15:43 +0000
Subject: cvs: /php4 main.c
Groups: php.version4 
Request: Send a blank email to php-version4+get-4108@lists.php.net to get a copy of this message
andi Sun Sep 5 01:15:43 1999 EDT Modified files: /php4 main.c Log: - php_error(E_ERROR,...) won't ever return so change the connection_status before it is called. Index: php4/main.c diff -u php4/main.c:1.111 php4/main.c:1.112 --- php4/main.c:1.111 Sat Sep 4 17:10:39 1999 +++ php4/main.c Sun Sep 5 01:15:42 1999 @@ -19,7 +19,7 @@ */ -/* $Id: main.c,v 1.111 1999/09/04 21:10:39 rasmus Exp $ */ +/* $Id: main.c,v 1.112 1999/09/05 05:15:42 andi Exp $ */ #include <stdio.h> @@ -472,9 +472,9 @@ { PLS_FETCH(); + PG(connection_status) |= PHP_CONNECTION_TIMEOUT; php_error(E_ERROR, "Maximum execution time of %d second%s exceeded", php_timeout_seconds, php_timeout_seconds == 1 ? "" : "s"); - PG(connection_status) |= PHP_CONNECTION_TIMEOUT; } #endif

« previous php.version4 (#4108) next »