From 1c51839e89a6ae606b5681f3e83c9a87b29f46c2 Mon Sep 17 00:00:00 2001 From: Antony Dovgal Date: Thu, 22 Oct 2009 16:17:41 +0000 Subject: [PATCH] fix ZTS build --- ext/openssl/xp_ssl.c | 1 + 1 file changed, 1 insertion(+) 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; -- 2.50.1