tman page: remove copy-pasta line, prefix "DEBUG:" for debug line - webdump - [FORK] git://git.codemadness.org/webdump
 (HTM) git clone git://git.z3bra.org/webdump.git
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) README
 (DIR) LICENSE
       ---
 (DIR) commit f0d80eb0978a24a020847aa15f1f5f2cd8b4e469
 (DIR) parent d8b340df62971844bafc357d981d9c03af741742
 (HTM) Author: Hiltjo Posthuma <hiltjo@codemadness.org>
       Date:   Sun, 22 Sep 2019 20:16:57 +0200
       
       man page: remove copy-pasta line, prefix "DEBUG:" for debug line
       
       Diffstat:
         M webdump.1                           |       1 -
         M webdump.c                           |       4 ++--
       
       2 files changed, 2 insertions(+), 3 deletions(-)
       ---
 (DIR) diff --git a/webdump.1 b/webdump.1
       t@@ -14,7 +14,6 @@ It renders and writes the output as plain-text to stdout.
        A
        .Ar baseurl
        can be specified if the links in the feed are relative urls.
       -It is recommended to always have absolute urls in your feeds.
        .Sh SEE ALSO
        .Xr ftp 1
        .Sh AUTHORS
 (DIR) diff --git a/webdump.c b/webdump.c
       t@@ -494,7 +494,7 @@ xmltagstart(XMLParser *x, const char *t, size_t tl)
                struct node *cur;
                int i;
        
       -//        printf("start of tag: %s\n", t);
       +//        printf("DEBUG: start of tag: %s\n", t);
        
                if (curnode >= MAX_DEPTH - 2)
                        errx(1, "max tag depth reached: %d\n", curnode);
       t@@ -511,7 +511,7 @@ xmltagstart(XMLParser *x, const char *t, size_t tl)
                for (i = 0; i < sizeof(tags) / sizeof(*tags); i++) {
                        if (!strcasecmp(tags[i].tag, t)) {
                                cur->displaytype = tags[i].displaytype;
       -//                        printf("match on tag: %s == %s, displaytype: %d\n",
       +//                        printf("DEBUG: match on tag: %s == %s, displaytype: %d\n",
        //                               tags[i].tag, t, cur->displaytype);
                                break;
                        }