]> granicus.if.org Git - php/commitdiff
fix ZTS build
authorAntony Dovgal <tony2001@php.net>
Thu, 22 Oct 2009 16:17:41 +0000 (16:17 +0000)
committerAntony Dovgal <tony2001@php.net>
Thu, 22 Oct 2009 16:17:41 +0000 (16:17 +0000)
ext/openssl/xp_ssl.c

index 1a49aca4d9cc5e547c7e0a15b0c5d572f6d3fc44..f4bae543e3ccb239777ea8c6fcebf95a594734b7 100644 (file)
@@ -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;