mirror of
https://github.com/curl/curl.git
synced 2026-07-29 04:23:08 +03:00
We use this ZERO_NULL to avoid picky compiler warnings,
when assigning a NULL pointer to a function pointer var.
This commit is contained in:
parent
5360f88393
commit
92433e596b
11 changed files with 106 additions and 112 deletions
16
lib/telnet.c
16
lib/telnet.c
|
|
@ -181,16 +181,16 @@ struct TELNET {
|
|||
|
||||
const struct Curl_handler Curl_handler_telnet = {
|
||||
"TELNET", /* scheme */
|
||||
NULL, /* setup_connection */
|
||||
ZERO_NULL, /* setup_connection */
|
||||
Curl_telnet, /* do_it */
|
||||
Curl_telnet_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_TELNET, /* defport */
|
||||
PROT_TELNET /* protocol */
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue