[prev in list] [next in list] [prev in thread] [next in thread] 

List:       php-cvs
Subject:    [PHP-CVS] =?utf-8?q?svn:_/php/php-src/branches/PHP=5F5=5F4/sapi/litespeed/_lsapi=5Fmain.c?=
From:       George_Wang <gwang () php ! net>
Date:       2011-12-31 18:15:22
Message-ID: svn-gwang-1325355322-321617-1630449608 () svn ! php ! net
[Download RAW message or body]

gwang                                    Sat, 31 Dec 2011 18:15:22 +0000

Revision: http://svn.php.net/viewvc?view=revision&revision=321617

Log:
fixed a crash in cli mode when apache_request_headers() is called

Changed paths:
    U   php/php-src/branches/PHP_5_4/sapi/litespeed/lsapi_main.c

Modified: php/php-src/branches/PHP_5_4/sapi/litespeed/lsapi_main.c
===================================================================
--- php/php-src/branches/PHP_5_4/sapi/litespeed/lsapi_main.c	2011-12-31 18:15:06 UTC (rev 321616)
+++ php/php-src/branches/PHP_5_4/sapi/litespeed/lsapi_main.c	2011-12-31 18:15:22 UTC (rev 321617)
@@ -1055,7 +1055,8 @@
     }
     array_init(return_value);

-    LSAPI_ForeachOrgHeader( add_associate_array, return_value );
+    if ( lsapi_mode )
+        LSAPI_ForeachOrgHeader( add_associate_array, return_value );

 }
 /* }}} */



-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic