diff options
author | Daniel Stenberg <daniel@haxx.se> | 2001-01-23 08:16:59 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2001-01-23 08:16:59 +0000 |
commit | 6f438bc8fb6d53e099a26f1d55ef6577c347fef0 (patch) | |
tree | 8297d0b6df04ae5cdb0c18617bcb70d5ff41d678 /lib | |
parent | 65840f1fd1856ccd403c4d10ef4ed30b3df0217b (diff) |
Added 'ipv6 enabled' for ipv6 compiled versions
Diffstat (limited to 'lib')
-rw-r--r-- | lib/version.c | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/lib/version.c b/lib/version.c index 9b2bbcded..cfb4aa333 100644 --- a/lib/version.c +++ b/lib/version.c @@ -61,8 +61,18 @@ char *curl_version(void) ptr=strchr(ptr, '\0'); #endif +#if defined(KRB4) || defined(ENABLE_IPV6) + strcat(ptr, " ("); + ptr+=2; #ifdef KRB4 - sprintf(ptr, " (krb4 enabled)"); + sprintf(ptr, "krb4 "); + ptr += strlen(ptr); +#endif +#ifdef ENABLE_IPV6 + sprintf(ptr, "ipv6 "); + ptr += strlen(ptr); +#endif + sprintf(ptr, "enabled)"); ptr += strlen(ptr); #endif |