aboutsummaryrefslogtreecommitdiff
path: root/lib/ftp.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/ftp.c')
-rw-r--r--lib/ftp.c32
1 files changed, 16 insertions, 16 deletions
diff --git a/lib/ftp.c b/lib/ftp.c
index 1cdf23cdb..105830a2c 100644
--- a/lib/ftp.c
+++ b/lib/ftp.c
@@ -207,16 +207,16 @@ const struct Curl_handler Curl_handler_ftps = {
const struct Curl_handler Curl_handler_ftp_proxy = {
"FTP", /* scheme */
- NULL, /* setup_connection */
+ ZERO_NULL, /* setup_connection */
Curl_http, /* do_it */
Curl_http_done, /* done */
- NULL, /* do_more */
- NULL, /* connect_it */
- NULL, /* connecting */
- NULL, /* doing */
- NULL, /* proto_getsock */
- NULL, /* doing_getsock */
- NULL, /* disconnect */
+ ZERO_NULL, /* do_more */
+ ZERO_NULL, /* connect_it */
+ ZERO_NULL, /* connecting */
+ ZERO_NULL, /* doing */
+ ZERO_NULL, /* proto_getsock */
+ ZERO_NULL, /* doing_getsock */
+ ZERO_NULL, /* disconnect */
PORT_FTP, /* defport */
PROT_HTTP /* protocol */
};
@@ -229,16 +229,16 @@ const struct Curl_handler Curl_handler_ftp_proxy = {
const struct Curl_handler Curl_handler_ftps_proxy = {
"FTPS", /* scheme */
- NULL, /* setup_connection */
+ ZERO_NULL, /* setup_connection */
Curl_http, /* do_it */
Curl_http_done, /* done */
- NULL, /* do_more */
- NULL, /* connect_it */
- NULL, /* connecting */
- NULL, /* doing */
- NULL, /* proto_getsock */
- NULL, /* doing_getsock */
- NULL, /* disconnect */
+ ZERO_NULL, /* do_more */
+ ZERO_NULL, /* connect_it */
+ ZERO_NULL, /* connecting */
+ ZERO_NULL, /* doing */
+ ZERO_NULL, /* proto_getsock */
+ ZERO_NULL, /* doing_getsock */
+ ZERO_NULL, /* disconnect */
PORT_FTPS, /* defport */
PROT_HTTP /* protocol */
};