rename getchar_ignore to getnext_ignore - tscrape - twitter scraper
 (HTM) git clone git://git.codemadness.org/tscrape
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) README
 (DIR) LICENSE
       ---
 (DIR) commit b11135a350c346d434708139583668e95b96427f
 (DIR) parent 36af5420b34500f32a5a8d3ee6601e57f3619bf8
 (HTM) Author: Hiltjo Posthuma <hiltjo@codemadness.org>
       Date:   Tue, 18 Dec 2018 18:10:33 +0100
       
       rename getchar_ignore to getnext_ignore
       
       Diffstat:
         M tscrape.c                           |       6 +++---
       
       1 file changed, 3 insertions(+), 3 deletions(-)
       ---
 (DIR) diff --git a/tscrape.c b/tscrape.c
       @@ -48,7 +48,7 @@ static int (*getnext)(void);
           or style tags. If you see some </script> tag in a CDATA or comment
           section then e-mail W3C and tell them the web is too complex. */
        static inline int
       -getchar_ignore(void)
       +getnext_ignore(void)
        {
                int c;
        
       @@ -143,12 +143,12 @@ xmltagstartparsed(XMLParser *x, const char *t, size_t tl, int isshort)
                if (!strcasecmp(t, "script")) {
                        ignorestate = endtag = "</script>";
                        getnext = x->getnext; /* for restore */
       -                x->getnext = getchar_ignore;
       +                x->getnext = getnext_ignore;
                        return;
                } else if (!strcasecmp(t, "style")) {
                        ignorestate = endtag = "</style>";
                        getnext = x->getnext; /* for restore */
       -                x->getnext = getchar_ignore;
       +                x->getnext = getnext_ignore;
                        return;
                }