lynx-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: lynx-dev lynx2.8.2dev.23


From: Leonid Pauzner
Subject: Re: lynx-dev lynx2.8.2dev.23
Date: Fri, 23 Apr 1999 20:25:12 +0400 (MSD)

23-Apr-99 11:08 address@hidden wrote:
> 1999-04-23 (2.8.2dev.23)

Sorry, this change came from my testing version,
it allow SOURCE_CACHE for any document (including local files),
please uncomment the lines for normal operation.

Leonid.


Index: src/HTML.c
--- 2.8.2dev.22/src/HTML.c      Tue Apr 13 03:39:16 1999
+++ 2.8.2dev.23/src/HTML.c      Fri Apr 23 08:56:35 1999
@@ -7696,19 +7715,19 @@
 {
     char filename[LY_MAXPATH];
     HTStream *stream = NULL;
-    HTProtocol *p = (HTProtocol *)anchor->protocol;
+/*    HTProtocol *p = (HTProtocol *)anchor->protocol; */

     /*
      * Neatly and transparently vanish if source caching is disabled.
      */
     if (LYCacheSource == SOURCE_CACHE_NONE)
        return target;
-
+/*
     if (strcmp(p->name, "http") != 0) {
        CTRACE(tfp, "Protocol is \"%s\"; not caching\n", p->name);
        return target;
     }
-
+*/
     stream = (HTStream *) malloc(sizeof(*stream));
     if (!stream)
        outofmem(__FILE__, "CacheThru_new");




reply via email to

[Prev in Thread] Current Thread [Next in Thread]