tShow image links and return 0 when part is exact. - rohrpost - A commandline mail client to change the world as we see it.
 (HTM) git clone git://r-36.net/rohrpost
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) LICENSE
       ---
 (DIR) commit f1416a4752954e5c0a3806f04821871a7f3406e3
 (DIR) parent ae0fddb3858de5e8121bfe60325ceb64997a1b58
 (HTM) Author: Christoph Lohmann <20h@r-36.net>
       Date:   Sun, 16 Apr 2017 15:18:58 +0200
       
       Show image links and return 0 when part is exact.
       
       Diffstat:
         part.c                              |       1 +
         view.c                              |       1 +
       
       2 files changed, 2 insertions(+), 0 deletions(-)
       ---
 (DIR) diff --git a/part.c b/part.c
       t@@ -305,6 +305,7 @@ partmain(int argc, char *argv[])
                                retc = part_write((char *)ide->data, mime, partl, type,
                                                filename, status & BEQUIET,
                                                status & TOSTDOUT, status & RAW);
       +                        retc = 0;
                        }
        
                        mime_free(mime);
 (DIR) diff --git a/view.c b/view.c
       t@@ -68,6 +68,7 @@ view_printtexthtml(mime_t *mime)
        
                lstr = smprintf("lynx -dump -stdin -nomargins "
                                "-display_charset=\"utf-8\" "
       +                        "-image_links "
                                "-assume_charset=\"%s\"", mime->charset);
                pid = runcmd(lstr, &infd, &outfd, NULL, 0);
                free(lstr);