about summary refs log tree commit diff stats
path: root/WWW/Library/Implementation/HTGopher.c
diff options
context:
space:
mode:
authorThomas E. Dickey <dickey@invisible-island.net>2018-05-16 23:26:54 +0000
committerThomas E. Dickey <dickey@invisible-island.net>2018-05-16 23:26:54 +0000
commit47026439e28cec53560b90f6d3e7e32c6b65c0e0 (patch)
treedbbf7018a2f0f9515199bdac099bb4a70ef86f5d /WWW/Library/Implementation/HTGopher.c
parent95c887eee01b9e2a376e18ed178e32c2bccf3ff5 (diff)
downloadlynx-snapshots-47026439e28cec53560b90f6d3e7e32c6b65c0e0.tar.gz
snapshot of project "lynx", label v2-8-9dev_18d
Diffstat (limited to 'WWW/Library/Implementation/HTGopher.c')
-rw-r--r--WWW/Library/Implementation/HTGopher.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/WWW/Library/Implementation/HTGopher.c b/WWW/Library/Implementation/HTGopher.c
index 1417d9b6..a9ad41e4 100644
--- a/WWW/Library/Implementation/HTGopher.c
+++ b/WWW/Library/Implementation/HTGopher.c
@@ -1,5 +1,5 @@
 /*
- * $LynxId: HTGopher.c,v 1.67 2018/05/04 22:42:37 tom Exp $
+ * $LynxId: HTGopher.c,v 1.68 2018/05/15 21:58:15 tom Exp $
  *
  *			GOPHER ACCESS				HTGopher.c
  *			=============
@@ -970,7 +970,6 @@ static int parse_cso_fields(char *buf,
 	     * Lines beginning with 5 are errors.  Print them and quit.
 	     */
 	    if (*p == '5') {
-		strcpy(buf, p);
 		return 5;
 	    }
 
@@ -1712,7 +1711,7 @@ static char *link_to_URL(const char *arg)
 	result = next + 1;
     }
     /* check if the selector is the special html one */
-    if (!strncmp(result, "hURL:", (size_t)5)) {
+    if (!strncmp(result, "hURL:", (size_t) 5)) {
 	result += 5;
 	next = result;
 	result = temp;