]> granicus.if.org Git - php/commitdiff
(ns_globals_struct): remove content_type member
authorSascha Schumann <sas@php.net>
Thu, 7 Oct 1999 20:21:55 +0000 (20:21 +0000)
committerSascha Schumann <sas@php.net>
Thu, 7 Oct 1999 20:21:55 +0000 (20:21 +0000)
(php_ns_request_dtor): remove content_type destructor, re-add path_translated destructor

sapi/aolserver/aolserver.c

index 959dcd8aecc6afec4287e5049b18661ccdd776c9..125a810454f8bcf201a1e336779010e11c4b3492 100644 (file)
@@ -68,7 +68,6 @@ typedef struct {
 
 typedef struct {
        Ns_Conn *conn;
-       Ns_DString content_type;
 } ns_globals_struct;
 
 static void php_ns_config(php_ns_context *ctx);
@@ -306,7 +305,7 @@ php_ns_request_ctor(NSLS_D SLS_DC)
 static void
 php_ns_request_dtor(NSLS_D SLS_DC)
 {
-       Ns_DStringFree(&NSG(content_type));
+       free(SG(request_info).path_translated);
 }
 
 /*