Fix an off-by-one in printexpand() by leot - tscrape - twitter scraper
 (HTM) git clone git://git.codemadness.org/tscrape
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) README
 (DIR) LICENSE
       ---
 (DIR) commit d4929d30226753c84a2ab5d8b703dd7df69eb4c1
 (DIR) parent 57259fbc5868fc4c8225640aaca8fd496dd6fc6c
 (HTM) Author: Hiltjo Posthuma <hiltjo@codemadness.org>
       Date:   Fri,  5 Jun 2020 17:17:17 +0200
       
       Fix an off-by-one in printexpand() by leot
       
       Thanks leot!
       
       Diffstat:
         M tscrape.c                           |       2 +-
       
       1 file changed, 1 insertion(+), 1 deletion(-)
       ---
 (DIR) diff --git a/tscrape.c b/tscrape.c
       @@ -182,7 +182,7 @@ printexpand(const char *s)
                        }
                        for (u = urls; u; u = u->next) {
                                if (!strncmp(s, u->url, u->url_len)) {
       -                                s += u->url_len;
       +                                s += u->url_len - 1;
                                        printescape(u->expanded_url);
                                        break;
                                }