summaryrefslogtreecommitdiff
path: root/ext/ftp/ftp.h
diff options
context:
space:
mode:
authorStefan Esser <sesser@php.net>2002-10-03 12:16:44 +0000
committerStefan Esser <sesser@php.net>2002-10-03 12:16:44 +0000
commit8fae3d7a49e409f99cf2320be718841699becec2 (patch)
tree52b4c508b0ec48cdb97108cc1980efe48c316dca /ext/ftp/ftp.h
parentae70a4e458b93add0a408c48b6c96f8e4fecc8e2 (diff)
downloadphp-git-8fae3d7a49e409f99cf2320be718841699becec2.tar.gz
swapped conditions to correct the logic
Diffstat (limited to 'ext/ftp/ftp.h')
-rw-r--r--ext/ftp/ftp.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/ftp/ftp.h b/ext/ftp/ftp.h
index d93f028c28..0bcc28ba04 100644
--- a/ext/ftp/ftp.h
+++ b/ext/ftp/ftp.h
@@ -49,8 +49,10 @@ typedef struct databuf
int fd; /* data connection */
ftptype_t type; /* transfer type */
char buf[FTP_BUFSIZE]; /* data buffer */
+#if HAVE_OPENSSL_EXT
SSL *ssl_handle; /* ssl handle */
int ssl_active; /* flag if ssl is active or not */
+#endif
} databuf_t;
typedef struct ftpbuf