lynx-dev
[Top][All Lists]
Advanced

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

lynx-dev (patch) tyny trace message fix


From: Leonid Pauzner
Subject: lynx-dev (patch) tyny trace message fix
Date: Fri, 21 May 1999 16:48:48 +0400 (MSD)

* tweak HTParse trace message.


diff -u old/htparse.c ./htparse.c
--- old/htparse.c       Fri May 21 15:16:44 1999
+++ ./htparse.c Fri May 21 16:37:42 1999
@@ -432,7 +432,7 @@
            strcat(result, (given.anchor) ?
                             given.anchor : related.anchor);
        }
-    CTRACE(tfp, "HTParse: result:%s\n", result);
+    CTRACE(tfp, "HTParse:      result:%s\n", result);
     FREE(rel);
     FREE(name);


========================

So trace output like this will be better aligned
(BTW, most of HTParse() calls really redundant):


...
Entering mainloop, startfile=file://localhost/c:/$text/leonid/uue/new
getfile: getting file://localhost/c:/$text/leonid/uue/new

HTParse: aName:file://localhost/c:/$text/leonid/uue/new   relatedName:
HTParse: result:localhost
HTParse: aName:file://localhost/c:/$text/leonid/uue/new   relatedName:
HTParse: result:localhost
HTParse: aName:file://localhost/c:/$text/leonid/uue/new   relatedName:
HTParse: result:file
HTParse: aName:file://localhost/c:/$text/leonid/uue/new   relatedName:
1
HTParse: result:/c:/$text/leonid/uue/new

HTParse: aName:file://localhost/c:/$text/leonid/uue/new   relatedName:
HTParse: result:
Entered HTAnchor_findAddress
New anchor 20bf90 has hash 15 and address 
`file://localhost/c:/$text/leonid/uue/new'
HTAccess: loading document file://localhost/c:/$text/leonid/uue/new
HTParse: aName:file://localhost/c:/$text/leonid/uue/new   relatedName:file:
HTParse: result:file
HTParse: aName:file://localhost/c:/$text/leonid/uue/new   relatedName:
HTParse: result:localhost
HTParse: aName:file://localhost/c:/$text/leonid/uue/new   relatedName:
HTParse: result:file
HTParse: aName:file://localhost/c:/$text/leonid/uue/new   relatedName:
1
HTParse: result:/c:/$text/leonid/uue/new
HTParse: aName:file://localhost/c:/$text/leonid/uue/new   relatedName:
HTParse: result:localhost
HTParse: aName:file://localhost/c:/$text/leonid/uue/new   relatedName:
HTParse: result:file
HTParse: aName:file://localhost/c:/$text/leonid/uue/new   relatedName:
HTParse: result:file
HTParse: aName:file://localhost/c:/$text/leonid/uue/new   relatedName:
HTParse: result:localhost
HTParse: aName:file://localhost/c:/$text/leonid/uue/new   relatedName:
1
HTParse: result:/c:/$text/leonid/uue/new
Node `file://localhost/c:/$text/leonid/uue/new' means path 
`/c:/$text/leonid/uue/new'
HTDOS_name changed `/c:/$text/leonid/uue/new' to `c:\$text\leonid\uue\new'
...



reply via email to

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