[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
LYNX-DEV [lynx-2-7] prob with reading lynx.cfg
From: |
Paul D. Smith |
Subject: |
LYNX-DEV [lynx-2-7] prob with reading lynx.cfg |
Date: |
Fri, 7 Mar 97 17:57:28 EST |
I'm sure someone has already mentioned this, but there's a bug in
LYReadCFG.c:read_cfg(). Patch below.
--- src/LYReadCFG.c-dist Sun Feb 9 04:39:04 1997
+++ src/LYReadCFG.c Fri Mar 7 13:55:07 1997
@@ -1107,12 +1107,6 @@
break;
case 'W':
- if (!strncasecomp(buffer, "XLOADIMAGE_COMMAND:", 19)) {
- StrAllocCat(XLoadImageCommand, (char *)&buffer[19]);
- }
- break;
-
- case 'X':
if (!strncasecomp(buffer, "wais_proxy:", 11)) {
if (getenv("wais_proxy") == NULL) {
#ifdef VMS
@@ -1128,6 +1122,12 @@
}
break;
+ case 'X':
+ if (!strncasecomp(buffer, "XLOADIMAGE_COMMAND:", 19)) {
+ StrAllocCopy(XLoadImageCommand, (char *)&buffer[19]);
+ }
+ break;
+
default:
break;
--
-------------------------------------------------------------------------------
Paul D. Smith <address@hidden> Network Management Development
"Please remain calm...I may be mad, but I am a professional." --Mad Scientist
-------------------------------------------------------------------------------
These are my opinions--Bay Networks takes no responsibility for them.
;
; To UNSUBSCRIBE: Send a mail message to address@hidden
; with "unsubscribe lynx-dev" (without the
; quotation marks) on a line by itself.
;
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- LYNX-DEV [lynx-2-7] prob with reading lynx.cfg,
Paul D. Smith <=