File tree Expand file tree Collapse file tree 2 files changed +9
-9
lines changed Expand file tree Collapse file tree 2 files changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -2145,7 +2145,7 @@ ftp_nb_continue_read(ftpbuf_t *ftp)
2145
2145
{
2146
2146
databuf_t * data = NULL ;
2147
2147
char * ptr ;
2148
- int lastch ;
2148
+ char lastch ;
2149
2149
size_t rcvd ;
2150
2150
ftptype_t type ;
2151
2151
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