File tree 1 file changed +8
-8
lines changed 1 file changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -70,18 +70,18 @@ typedef struct ftpbuf
70
70
int autoseek ; /* User configurable autoseek flag */
71
71
int usepasvaddress ; /* Use the address returned by the pasv command */
72
72
73
- int nb ; /* "nonblocking" transfer in progress */
74
73
databuf_t * data ; /* Data connection for "nonblocking" transfers */
75
74
php_stream * stream ; /* output stream for "nonblocking" transfers */
76
- int lastch ; /* last char of previous call */
77
- int direction ; /* recv = 0 / send = 1 */
78
- int closestream ;/* close or not close stream */
75
+ bool nb ; /* "nonblocking" transfer in progress */
76
+ char lastch ; /* last char of previous call */
77
+ bool direction ; /* recv = 0 / send = 1 */
78
+ bool closestream ;/* close or not close stream */
79
79
#ifdef HAVE_FTP_SSL
80
- int use_ssl ; /* enable(1) or disable(0) ssl */
81
- int use_ssl_for_data ; /* en/disable ssl for the dataconnection */
82
- int old_ssl ; /* old mode = forced data encryption */
80
+ bool use_ssl ; /* enable(1) or disable(0) ssl */
81
+ bool use_ssl_for_data ; /* en/disable ssl for the dataconnection */
82
+ bool old_ssl ; /* old mode = forced data encryption */
83
+ bool ssl_active ; /* ssl active on control conn */
83
84
SSL * ssl_handle ; /* handle for control connection */
84
- int ssl_active ; /* ssl active on control conn */
85
85
SSL_SESSION * last_ssl_session ; /* last negotiated session */
86
86
#endif
87
87
You can’t perform that action at this time.
0 commit comments