From 1dbe60b8b71c2308fab987f5b4c6c6e9a264dd66 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Mon, 26 Apr 2004 07:14:47 +0000 Subject: supports showing "IDN" as a libcurl feature, now outputs the features in alphabetical order --- src/main.c | 15 ++++++++------- 1 file 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