aboutsummaryrefslogtreecommitdiffstats
path: root/WWW/Library
diff options
context:
space:
mode:
authorThomas E. Dickey <dickey@invisible-island.net>1998-09-22 11:57:43 -0400
committerThomas E. Dickey <dickey@invisible-island.net>1998-09-22 11:57:43 -0400
commit07e246c51644d9790f2eaf4001ff4ffd40e3274f (patch)
tree6a3715d7c5d8cabf396b5fbf54b26f502d760587 /WWW/Library
parent51a6f85e8e96e257cbb43d0daab7abdf36ad2186 (diff)
downloadlynx-snapshots-07e246c51644d9790f2eaf4001ff4ffd40e3274f.tar.gz
snapshot of project "lynx", label v2-8-1pre_1
Diffstat (limited to 'WWW/Library')
-rw-r--r--WWW/Library/Implementation/HTPlain.c2
-rw-r--r--WWW/Library/Implementation/HTTCP.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/WWW/Library/Implementation/HTPlain.c b/WWW/Library/Implementation/HTPlain.c
index f46616f7..81e46d72 100644
--- a/WWW/Library/Implementation/HTPlain.c
+++ b/WWW/Library/Implementation/HTPlain.c
@@ -650,7 +650,7 @@ PUBLIC HTStream* HTPlainPresent ARGS3(
HTAnchor_getUCInfoStage(anchor,UCT_STAGE_HTEXT));
me->text = HText_new(anchor);
- HText_setStyle(me->text, styles[HTML_XMP] );
+ HText_setStyle(me->text, LYstyles(HTML_XMP) );
HText_beginAppend(me->text);
return (HTStream*) me;
diff --git a/WWW/Library/Implementation/HTTCP.c b/WWW/Library/Implementation/HTTCP.c
index 76447fe0..e64f5d47 100644
--- a/WWW/Library/Implementation/HTTCP.c
+++ b/WWW/Library/Implementation/HTTCP.c
@@ -324,7 +324,6 @@ PUBLIC int HTParseInet ARGS2(
{
char *port;
int dotcount_ip = 0; /* for dotted decimal IP addr */
- int success = 0;
#ifndef _WINDOWS_NSL
char *host = NULL;
#endif /* _WINDOWS_NSL */
@@ -428,6 +427,7 @@ PUBLIC int HTParseInet ARGS2(
** checks for interrupts. - Tom Zerucha (tz@execpc.com) & FM
*/
{
+ int success = 0;
/*
** Pipe, child pid, status buffers, cycle count, select()
** control variables.