From 47026439e28cec53560b90f6d3e7e32c6b65c0e0 Mon Sep 17 00:00:00 2001 From: "Thomas E. Dickey" Date: Wed, 16 May 2018 23:26:54 +0000 Subject: snapshot of project "lynx", label v2-8-9dev_18d --- WWW/Library/Implementation/HTGopher.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'WWW/Library/Implementation/HTGopher.c') 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; -- cgit 1.4.1-2-gfad0