aboutsummaryrefslogtreecommitdiff
path: root/lib/tftp.c
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2007-10-17 16:58:32 +0000
committerYang Tse <yangsita@gmail.com>2007-10-17 16:58:32 +0000
commit92433e596b7fbfa5c75926705dcfef0080ebf012 (patch)
tree9dc076641396934683d15b962395dc6f11d36d5f /lib/tftp.c
parent5360f88393c91758ed0f29fa65a9b15716589aa1 (diff)
We use this ZERO_NULL to avoid picky compiler warnings,
when assigning a NULL pointer to a function pointer var.
Diffstat (limited to 'lib/tftp.c')
-rw-r--r--lib/tftp.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/tftp.c b/lib/tftp.c
index 81cd938c5..ba7842280 100644
--- a/lib/tftp.c
+++ b/lib/tftp.c
@@ -167,13 +167,13 @@ const struct Curl_handler Curl_handler_tftp = {
Curl_tftp_setup_connection, /* setup_connection */
Curl_tftp, /* do_it */
Curl_tftp_done, /* done */
- NULL, /* do_more */
+ ZERO_NULL, /* do_more */
Curl_tftp_connect, /* connect_it */
- NULL, /* connecting */
- NULL, /* doing */
- NULL, /* proto_getsock */
- NULL, /* doing_getsock */
- NULL, /* disconnect */
+ ZERO_NULL, /* connecting */
+ ZERO_NULL, /* doing */
+ ZERO_NULL, /* proto_getsock */
+ ZERO_NULL, /* doing_getsock */
+ ZERO_NULL, /* disconnect */
PORT_TFTP, /* defport */
PROT_TFTP /* protocol */
};