aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2004-04-26 07:14:47 +0000
committerDaniel Stenberg <daniel@haxx.se>2004-04-26 07:14:47 +0000
commit1dbe60b8b71c2308fab987f5b4c6c6e9a264dd66 (patch)
tree198850625e642b04116b3401bfe47fc32dfac451
parent9631fa740708b1890197fad01e25b34b7e8eb80e (diff)
supports showing "IDN" as a libcurl feature, now outputs the features
in alphabetical order
-rw-r--r--src/main.c15
1 files changed, 8 insertions, 7 deletions
diff --git a/src/main.c b/src/main.c
index 727c8c2c2..78702e50f 100644
--- a/src/main.c
+++ b/src/main.c
@@ -1917,16 +1917,17 @@ static ParameterError getparameter(char *flag, /* f or -long-flag */
int bitmask;
};
struct feat feats[] = {
+ {"AsynchDNS", CURL_VERSION_ASYNCHDNS},
+ {"Debug", CURL_VERSION_DEBUG},
+ {"GSS-Negotiate", CURL_VERSION_GSSNEGOTIATE},
+ {"IDN", CURL_VERSION_IDN},
{"IPv6", CURL_VERSION_IPV6},
- {"krb4", CURL_VERSION_KERBEROS4},
- {"SSL", CURL_VERSION_SSL},
- {"libz", CURL_VERSION_LIBZ},
+ {"Largefile", CURL_VERSION_LARGEFILE},
{"NTLM", CURL_VERSION_NTLM},
- {"GSS-Negotiate", CURL_VERSION_GSSNEGOTIATE},
- {"Debug", CURL_VERSION_DEBUG},
- {"AsynchDNS", CURL_VERSION_ASYNCHDNS},
{"SPNEGO", CURL_VERSION_SPNEGO},
- {"Largefile", CURL_VERSION_LARGEFILE}
+ {"SSL", CURL_VERSION_SSL},
+ {"krb4", CURL_VERSION_KERBEROS4},
+ {"libz", CURL_VERSION_LIBZ}
};
printf("Features: ");
for(i=0; i<sizeof(feats)/sizeof(feats[0]); i++) {