@@ -143,7 +143,7 @@ static php_stream *php_ftp_fopen_connect(php_stream_wrapper *wrapper, char *path
143
143
goto connect_errexit ;
144
144
}
145
145
146
- php_stream_context_set (stream , context TSRMLS_CC );
146
+ php_stream_context_set (stream , context );
147
147
php_stream_notify_info (context , PHP_STREAM_NOTIFY_CONNECT , NULL , 0 );
148
148
149
149
/* Start talking to ftp server */
@@ -550,7 +550,7 @@ php_stream * php_stream_url_wrap_ftp(php_stream_wrapper *wrapper, char *path, ch
550
550
goto errexit ;
551
551
}
552
552
553
- php_stream_context_set (datastream , context TSRMLS_CC );
553
+ php_stream_context_set (datastream , context );
554
554
php_stream_notify_progress_init (context , 0 , file_size );
555
555
556
556
if (use_ssl_on_data && (php_stream_xport_crypto_setup (datastream ,
@@ -715,7 +715,7 @@ php_stream * php_stream_ftp_opendir(php_stream_wrapper *wrapper, char *path, cha
715
715
goto opendir_errexit ;
716
716
}
717
717
718
- php_stream_context_set (datastream , context TSRMLS_CC );
718
+ php_stream_context_set (datastream , context );
719
719
720
720
if (use_ssl_on_data && (php_stream_xport_crypto_setup (stream ,
721
721
STREAM_CRYPTO_METHOD_SSLv23_CLIENT , NULL TSRMLS_CC ) < 0 ||
0 commit comments