Introduction
Introduction Statistics Contact Development Disclaimer Help
main: no command-line arguments, add comment about the web - grabtitle - stupid…
git clone git://git.codemadness.org/grabtitle
Log
Files
Refs
README
LICENSE
---
commit 1c506adc3502530014355ae774f8b306e9a8f4bb
parent df35821b012c868c75ca1bed237624c39a0d7e12
Author: Hiltjo Posthuma <[email protected]>
Date: Tue, 11 Dec 2018 21:28:10 +0100
main: no command-line arguments, add comment about the web
Diffstat:
M grabtitle.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/grabtitle.c b/grabtitle.c
@@ -21,7 +21,8 @@ static int (*getnext)(void);
/* return a space for all data until some case-insensitive string occurs. This
is used to parse incorrect HTML/XML that contains unescaped HTML in script
- or style tags. */
+ 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)
{
@@ -95,7 +96,7 @@ xmltagstart(XMLParser *p, const char *t, size_t tl)
}
int
-main(int argc, char *argv[])
+main(void)
{
if (pledge("stdio", NULL) == -1) {
fprintf(stderr, "pledge: %s\n", strerror(errno));
You are viewing proxied material from codemadness.org. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.