lynx-dev
[Top][All Lists]
Advanced

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

lynx-dev (patch) owner_address and HTreparse_document()


From: Leonid Pauzner
Subject: lynx-dev (patch) owner_address and HTreparse_document()
Date: Tue, 20 Apr 1999 19:37:06 +0400 (MSD)

Tiny mainloop fix (the pointer to HTextMain became broken
when HTreparse_document() update HText, let alloc a copy
instead of duplicating the statement for special case:)



diff -u old/lymainlo.c ./lymainlo.c
--- old/lymainlo.c      Mon Apr 19 19:06:52 1999
+++ ./lymainlo.c        Tue Apr 20 19:14:30 1999
@@ -1036,7 +1036,7 @@
            } else if (!dump_output_immediately) {
                StrAllocCopy(curdoc.title, newdoc.title);
            }
-           owner_address = (char *)HText_getOwner();
+           StrAllocCopy(owner_address, HText_getOwner());
            curdoc.safe = HTLoadedDocumentIsSafe();
            if (!dump_output_immediately) {
                LYAddVisitedLink(&curdoc);




reply via email to

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