diff options
author | Thomas E. Dickey <dickey@invisible-island.net> | 2016-11-24 20:42:26 -0500 |
---|---|---|
committer | Thomas E. Dickey <dickey@invisible-island.net> | 2016-11-24 20:42:26 -0500 |
commit | 8e90b748a51b502a3b0430d58cfbc7954d4a801d (patch) | |
tree | b21a6586b444c3604344c862c204083f7fb266af /WWW/Library/Implementation/HTGopher.c | |
parent | da3e74522784403f7b98fb00637209557a87c0f3 (diff) | |
download | lynx-snapshots-8e90b748a51b502a3b0430d58cfbc7954d4a801d.tar.gz |
snapshot of project "lynx", label v2-8-9dev_11c
Diffstat (limited to 'WWW/Library/Implementation/HTGopher.c')
-rw-r--r-- | WWW/Library/Implementation/HTGopher.c | 14 |
1 files changed, 2 insertions, 12 deletions
diff --git a/WWW/Library/Implementation/HTGopher.c b/WWW/Library/Implementation/HTGopher.c index a8c8c434..4828a785 100644 --- a/WWW/Library/Implementation/HTGopher.c +++ b/WWW/Library/Implementation/HTGopher.c @@ -1,5 +1,5 @@ /* - * $LynxId: HTGopher.c,v 1.63 2016/10/15 01:11:44 tom Exp $ + * $LynxId: HTGopher.c,v 1.65 2016/11/24 16:38:54 tom Exp $ * * GOPHER ACCESS HTGopher.c * ============= @@ -692,8 +692,6 @@ static void de_escape(char *command, const char *selector) if (command == NULL) outofmem(__FILE__, "HTLoadGopher"); - assert(command != NULL); - q = command; while (*p) { /* Decode hex */ if (*p == HEX_ESCAPE) { @@ -1030,8 +1028,6 @@ static int parse_cso_fields(char *buf, outofmem(__FILE__, "HTLoadCSO"); } - assert(newf != NULL); - if (last) last->next = newf; else @@ -1517,7 +1513,7 @@ static int HTLoadCSO(const char *arg, Target = HTStreamStack(format_in, format_out, sink, anAnchor); - if (!Target || Target == NULL) { + if (Target == NULL) { char *temp = 0; HTSprintf0(&temp, CANNOT_CONVERT_I_TO_O, @@ -1803,8 +1799,6 @@ static int HTLoadGopher(const char *arg, if (command == NULL) outofmem(__FILE__, "HTLoadGopher"); - assert(command != NULL); - de_escape(command, selector); /* Bug fix TBL 921208 */ strcat(command, "\t"); @@ -1839,8 +1833,6 @@ static int HTLoadGopher(const char *arg, if (command == NULL) outofmem(__FILE__, "HTLoadGopher"); - assert(command != NULL); - de_escape(command, selector); /* Bug fix TBL 921208 */ strcpy(command, "query "); @@ -1860,8 +1852,6 @@ static int HTLoadGopher(const char *arg, if (command == NULL) outofmem(__FILE__, "HTLoadGopher"); - assert(command != NULL); - de_escape(command, selector); } FREE(p1); |