]> granicus.if.org Git - curl/commitdiff
curl_version_info.3: fixed the 'protocols' variable type
authorDaniel Stenberg <daniel@haxx.se>
Sat, 18 Apr 2015 20:46:04 +0000 (22:46 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Sat, 18 Apr 2015 20:46:52 +0000 (22:46 +0200)
Reported-by: John Marshall
Bug: https://github.com/bagder/curl/issues/225

docs/libcurl/curl_version_info.3

index 1b8f9c11942fc43ab600b8768b6407ad43ee68b9..e9d5ab704e39bd6f1bfb65724eaffc3932106acc 100644 (file)
@@ -5,7 +5,7 @@
 .\" *                            | (__| |_| |  _ <| |___
 .\" *                             \___|\___/|_| \_\_____|
 .\" *
-.\" * Copyright (C) 1998 - 2014, Daniel Stenberg, <daniel@haxx.se>, et al.
+.\" * Copyright (C) 1998 - 2015, Daniel Stenberg, <daniel@haxx.se>, et al.
 .\" *
 .\" * This software is licensed as described in the file COPYING, which
 .\" * you should have received as part of this distribution. The terms
@@ -57,7 +57,7 @@ typedef struct {
   char *ssl_version;        /* human readable string */
   long ssl_version_num;     /* not used, always zero */
   const char *libz_version; /* human readable string */
-  const char **protocols;   /* list of protocols */
+  const char * const *protocols; /* protocols */
 
   /* when 'age' is 1 or higher, the members below also exist: */
   const char *ares;         /* human readable string */