From: Greg Kroah-Hartman Date: Thu, 29 May 2008 18:51:39 +0000 (-0700) Subject: expand the tweet size, it was only taking 100 chars X-Git-Url: https://git.toastfreeware.priv.at/gregoa/bti.git/commitdiff_plain/2de6c56263e5f38fade5a9f9872b68208b96bfc1 expand the tweet size, it was only taking 100 chars --- 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';