summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Zmievski <andrei@php.net>2000-02-10 16:48:22 +0000
committerAndrei Zmievski <andrei@php.net>2000-02-10 16:48:22 +0000
commit681f352a9de72c545aed1def82da26ba2b1f085d (patch)
treea7244bf8bd7d51278a1f74cc29b39bbd731407d6
parent073b148167887c51f30fff8f7c569fcf28c5bb72 (diff)
downloadphp-git-681f352a9de72c545aed1def82da26ba2b1f085d.tar.gz
Should be 'deactivate' rather than the opposite.
-rw-r--r--sapi/cgi/cgi_main.c4
1 files 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 */