summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--main/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/main.c b/main/main.c
index b573419841..9eded7ac24 100644
--- a/main/main.c
+++ b/main/main.c
@@ -472,9 +472,9 @@ static void php3_timeout(int dummy)
{
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