diff options
author | Thomas E. Dickey <dickey@invisible-island.net> | 2013-05-02 11:09:30 -0400 |
---|---|---|
committer | Thomas E. Dickey <dickey@invisible-island.net> | 2013-05-02 11:09:30 -0400 |
commit | 844a17014bd45706a13ee5318b36a56fbcf6924c (patch) | |
tree | 1f6fbe9df293ae7e477671384c5a69a195e15b26 /WWW/Library/Implementation/HTGopher.c | |
parent | 81905f18dc0594e372cf38cfb0e0b71b69849a43 (diff) | |
download | lynx-snapshots-844a17014bd45706a13ee5318b36a56fbcf6924c.tar.gz |
snapshot of project "lynx", label v2-8-8dev-15c
Diffstat (limited to 'WWW/Library/Implementation/HTGopher.c')
-rw-r--r-- | WWW/Library/Implementation/HTGopher.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/WWW/Library/Implementation/HTGopher.c b/WWW/Library/Implementation/HTGopher.c index 57492b1d..cf51b023 100644 --- a/WWW/Library/Implementation/HTGopher.c +++ b/WWW/Library/Implementation/HTGopher.c @@ -1,5 +1,5 @@ /* - * $LynxId: HTGopher.c,v 1.58 2013/01/04 21:10:29 tom Exp $ + * $LynxId: HTGopher.c,v 1.60 2013/05/01 22:20:13 tom Exp $ * * GOPHER ACCESS HTGopher.c * ============= @@ -1138,9 +1138,7 @@ static int generate_cso_form(char *host, */ out = 0; buf[out] = '\0'; - for (i = full_flag ? /***1***/ 0 : 0; - ctemplate[i]; - i++) { + for (i = 0; ctemplate[i]; i++) { /* * Search the current string for substitution, flagged by $( */ @@ -1423,7 +1421,7 @@ static int generate_cso_report(HTStream *Target) (*Target->isa->put_block) (Target, buf, (int) strlen(buf)); } } else { - HTSprintf0(&buf, "<DD>%s\n", fname ? fname : rcode); + HTSprintf0(&buf, "<DD>%s\n", fname); (*Target->isa->put_block) (Target, buf, (int) strlen(buf)); } } |