iliaa           Thu Nov  7 22:02:52 2002 EDT

  Modified files:              
    /php4/ext/standard  ftp_fopen_wrapper.c 
  Log:
  Fixed compile warning when compiling without openssl support.
  
  
Index: php4/ext/standard/ftp_fopen_wrapper.c
diff -u php4/ext/standard/ftp_fopen_wrapper.c:1.37 
php4/ext/standard/ftp_fopen_wrapper.c:1.38
--- php4/ext/standard/ftp_fopen_wrapper.c:1.37  Tue Nov  5 06:17:45 2002
+++ php4/ext/standard/ftp_fopen_wrapper.c       Thu Nov  7 22:02:51 2002
@@ -17,7 +17,7 @@
    |          Hartmut Holzgraefe <[EMAIL PROTECTED]>                       |
    +----------------------------------------------------------------------+
  */
-/* $Id: ftp_fopen_wrapper.c,v 1.37 2002/11/05 11:17:45 helly Exp $ */
+/* $Id: ftp_fopen_wrapper.c,v 1.38 2002/11/08 03:02:51 iliaa Exp $ */
 
 #include "php.h"
 #include "php_globals.h"
@@ -135,14 +135,18 @@
  */
 php_stream * php_stream_url_wrap_ftp(php_stream_wrapper *wrapper, char *path, char 
*mode, int options, char **opened_path, php_stream_context *context STREAMS_DC 
TSRMLS_DC)
 {
-       php_stream *stream=NULL, *datastream=NULL, *reuseid=NULL;
+       php_stream *stream=NULL, *datastream=NULL;
        php_url *resource=NULL;
        char tmp_line[512];
        char ip[sizeof("123.123.123.123")];
        unsigned short portno;
        char *scratch;
        int result;
-       int i, use_ssl, use_ssl_on_data=0;
+       int i, use_ssl;
+#if HAVE_OPENSSL_EXT   
+       int use_ssl_on_data=0;
+       php_stream *reuseid=NULL;
+#endif 
        char *tpath, *ttpath, *hoststart=NULL;
        size_t file_size = 0;
 



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

Reply via email to