summaryrefslogtreecommitdiff
path: root/lib/gopher.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2021-01-05 17:22:09 +0100
committerDaniel Stenberg <daniel@haxx.se>2021-01-06 15:23:41 +0100
commitf52c6981c53ae55b3f9e9179c698a66bd2f7b655 (patch)
tree3e90890823addae75241108670137973fcba8d6d /lib/gopher.c
parentab525c059eb44883db32c728a667a2a65974e37c (diff)
downloadcurl-f52c6981c53ae55b3f9e9179c698a66bd2f7b655.tar.gz
curl.h: add CURLPROTO_GOPHERS as own protocol identifier
Follow-up to a1f06f32b860, to make sure it can be handled separately from plain gopher. Closes #6418
Diffstat (limited to 'lib/gopher.c')
-rw-r--r--lib/gopher.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/gopher.c b/lib/gopher.c
index c02436d4a..0f6825ef2 100644
--- a/lib/gopher.c
+++ b/lib/gopher.c
@@ -5,7 +5,7 @@
* | (__| |_| | _ <| |___
* \___|\___/|_| \_\_____|
*
- * Copyright (C) 1998 - 2020, Daniel Stenberg, <daniel@haxx.se>, et al.
+ * Copyright (C) 1998 - 2021, 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
@@ -98,7 +98,7 @@ const struct Curl_handler Curl_handler_gophers = {
ZERO_NULL, /* readwrite */
ZERO_NULL, /* connection_check */
PORT_GOPHER, /* defport */
- CURLPROTO_GOPHER, /* protocol */
+ CURLPROTO_GOPHERS, /* protocol */
CURLPROTO_GOPHER, /* family */
PROTOPT_SSL /* flags */
};