summaryrefslogtreecommitdiff
path: root/libs/libcurl/src/curl_gethostname.c
diff options
context:
space:
mode:
authordartraiden <wowemuh@gmail.com>2020-11-01 23:02:54 +0300
committerdartraiden <wowemuh@gmail.com>2020-11-01 23:06:35 +0300
commitd7b105a2240a2c1dcd789cec21cc985c709747eb (patch)
tree90a06104d9b3cdce3452d726aaa9d5d9fb98e647 /libs/libcurl/src/curl_gethostname.c
parentb54e9f486d521c314a9eb53dab435f14b4ca7504 (diff)
libcurl: update to 7.73.0
Diffstat (limited to 'libs/libcurl/src/curl_gethostname.c')
-rw-r--r--libs/libcurl/src/curl_gethostname.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/libcurl/src/curl_gethostname.c b/libs/libcurl/src/curl_gethostname.c
index 8337c72e81..5f1c9998fe 100644
--- a/libs/libcurl/src/curl_gethostname.c
+++ b/libs/libcurl/src/curl_gethostname.c
@@ -5,7 +5,7 @@
* | (__| |_| | _ <| |___
* \___|\___/|_| \_\_____|
*
- * Copyright (C) 1998 - 2016, Daniel Stenberg, <daniel@haxx.se>, et al.
+ * Copyright (C) 1998 - 2020, 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
@@ -48,7 +48,7 @@
* For libcurl static library release builds no overriding takes place.
*/
-int Curl_gethostname(char *name, GETHOSTNAME_TYPE_ARG2 namelen)
+int Curl_gethostname(char * const name, GETHOSTNAME_TYPE_ARG2 namelen)
{
#ifndef HAVE_GETHOSTNAME