increase text buffer - tscrape - twitter scraper
HTML git clone git://git.codemadness.org/tscrape
DIR Log
DIR Files
DIR Refs
DIR README
DIR LICENSE
---
DIR commit b9a0b224926eedba39864537e1d5d2d6b2e3c7c8
DIR parent 6cf84bf60592da634069878ba2953f11398a96fc
HTML Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Sat, 23 Apr 2016 13:14:50 +0200
increase text buffer
a tweet can have 140 characters so atleast 560 bytes (UTF-8). Additionally
there is some HTML bullshittery so to be safe increase it to 1024 bytes.
Diffstat:
M tscrape.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
DIR diff --git a/tscrape.c b/tscrape.c
@@ -36,7 +36,7 @@ size_t strlcpy(char *, const char *, size_t);
/* data */
static char fullname[128];
static char timestamp[16];
-static char text[256];
+static char text[1024];
static char username[128];
static char classname[256];