From: Antony Dovgal Date: Thu, 22 Oct 2009 16:17:41 +0000 (+0000) Subject: fix ZTS build X-Git-Tag: php-5.4.0alpha1~191^2~2472 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=1c51839e89a6ae606b5681f3e83c9a87b29f46c2;p=php fix ZTS build --- diff --git a/ext/openssl/xp_ssl.c b/ext/openssl/xp_ssl.c index 1a49aca4d9..f4bae543e3 100644 --- a/ext/openssl/xp_ssl.c +++ b/ext/openssl/xp_ssl.c @@ -772,6 +772,7 @@ php_stream_ops php_openssl_socket_ops = { static char * get_sni(php_stream_context *ctx, char *resourcename, long resourcenamelen, int is_persistent) { php_url *url; + TSRMLS_FETCH(); if (ctx) { zval **val = NULL;