From 681f352a9de72c545aed1def82da26ba2b1f085d Mon Sep 17 00:00:00 2001 From: Andrei Zmievski Date: Thu, 10 Feb 2000 16:48:22 +0000 Subject: [PATCH] Should be 'deactivate' rather than the opposite. --- sapi/cgi/cgi_main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sapi/cgi/cgi_main.c b/sapi/cgi/cgi_main.c index 1d2b5ce653..c036b8c2f1 100644 --- a/sapi/cgi/cgi_main.c +++ b/sapi/cgi/cgi_main.c @@ -165,7 +165,7 @@ static void sapi_cgi_log_message(char *message) } } -static int sapi_cgi_activate(SLS_D) +static int sapi_cgi_deactivate(SLS_D) { fflush(stdout); if(request_info.php_argv0) { @@ -183,7 +183,7 @@ static sapi_module_struct sapi_module = { php_module_shutdown_wrapper, /* shutdown */ NULL, /* activate */ - sapi_cgi_activate, /* deactivate */ + sapi_cgi_deactivate, /* deactivate */ sapi_cgibin_ub_write, /* unbuffered write */ sapi_cgibin_flush, /* flush */ -- 2.40.0