curl_version_info.3 documentation missing "const" for protocols field #225

Closed
jmarshall opened this Issue Apr 18, 2015 · 1 comment

Projects

None yet

2 participants

@jmarshall

Rather minor, but… the curl_version_info.3 man page documents the curl_version_info_data struct's fields, including

const char **protocols;   /* list of protocols */

However protocols is in fact a const char * const * — which makes a difference when user code is declaring a variable to traverse the list.

@bagder bagder added a commit that referenced this issue Apr 18, 2015
@bagder bagder curl_version_info.3: fixed the 'protocols' variable type
Reported-by: John Marshall
Bug: #225
63c64e0
@bagder bagder self-assigned this Apr 18, 2015
@bagder
Member
bagder commented Apr 18, 2015

Thanks a lot, fixed now in 63c64e0

@bagder bagder closed this Apr 18, 2015
@jgsogo jgsogo added a commit to jgsogo/curl that referenced this issue Oct 19, 2015
@bagder @jgsogo bagder + jgsogo curl_version_info.3: fixed the 'protocols' variable type
Reported-by: John Marshall
Bug: curl#225
05faeb8
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment