Fixed a compile warning introduced by making the protocol table const. This

involves a binary-compatible change to the API struct curl_version_info_data
This commit is contained in:
Dan Fandrich
2004-12-20 21:14:45 +00:00
parent 80d301257c
commit 327b46cced
2 changed files with 4 additions and 4 deletions

View File

@@ -2023,7 +2023,7 @@ static ParameterError getparameter(char *flag, /* f or -long-flag */
break;
case 'V':
{
const char **proto;
const char * const *proto;
printf(CURL_ID "%s\n", curl_version());
if (curlinfo->protocols) {