From 13b64d75589647f8d151e035bd2c5d340a1c37ee Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Mon, 14 Mar 2011 22:52:14 +0100 Subject: protocols: use CURLPROTO_ internally The PROT_* set of internal defines for the protocols is no longer used. We now use the same bits internally as we have defined in the public header using the CURLPROTO_ prefix. This is for simplicity and because the PROT_* prefix was already used duplicated internally for a set of KRB4 values. The PROTOPT_* defines were moved up to just below the struct definition within which they are used. --- lib/tftp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/tftp.c') diff --git a/lib/tftp.c b/lib/tftp.c index a70ceac24..ff59acadd 100644 --- a/lib/tftp.c +++ b/lib/tftp.c @@ -196,7 +196,7 @@ const struct Curl_handler Curl_handler_tftp = { ZERO_NULL, /* perform_getsock */ tftp_disconnect, /* disconnect */ PORT_TFTP, /* defport */ - PROT_TFTP, /* protocol */ + CURLPROTO_TFTP, /* protocol */ PROTOPT_NONE /* flags */ }; -- cgit v1.2.3