]> granicus.if.org Git - php/commitdiff
Should be 'deactivate' rather than the opposite.
authorAndrei Zmievski <andrei@php.net>
Thu, 10 Feb 2000 16:48:22 +0000 (16:48 +0000)
committerAndrei Zmievski <andrei@php.net>
Thu, 10 Feb 2000 16:48:22 +0000 (16:48 +0000)
sapi/cgi/cgi_main.c

index 1d2b5ce653e0ea5015df878aa7ea4ab2ad3f2b68..c036b8c2f1f35add145830ee08aa1e028c79f432 100644 (file)
@@ -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 */