From 2de6c56263e5f38fade5a9f9872b68208b96bfc1 Mon Sep 17 00:00:00 2001 From: Greg Kroah-Hartman Date: Thu, 29 May 2008 11:51:39 -0700 Subject: [PATCH] expand the tweet size, it was only taking 100 chars --- bti.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bti.c b/bti.c index 2119644..c9b4880 100644 --- a/bti.c +++ b/bti.c @@ -77,11 +77,11 @@ static char *get_string_from_stdin(void) char *temp; char *string; - string = zalloc(100); + string = zalloc(1000); if (!string) return NULL; - if (!fgets(string, 99, stdin)) + if (!fgets(string, 999, stdin)) return NULL; temp = strchr(string, '\n'); *temp = '\0'; -- 2.39.5