expand the tweet size, it was only taking 100 chars
authorGreg Kroah-Hartman <gregkh@suse.de>
Thu, 29 May 2008 18:51:39 +0000 (11:51 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 29 May 2008 18:51:39 +0000 (11:51 -0700)
bti.c

diff --git a/bti.c b/bti.c
index 211964477fdc59fc078ba7410a0abe3a7a467274..c9b48803260707c9f04601eb1083e859dc90a963 100644 (file)
--- a/bti.c
+++ b/bti.c
@@ -77,11 +77,11 @@ static char *get_string_from_stdin(void)
        char *temp;
        char *string;
 
        char *temp;
        char *string;
 
-       string = zalloc(100);
+       string = zalloc(1000);
        if (!string)
                return NULL;
 
        if (!string)
                return NULL;
 
-       if (!fgets(string, 99, stdin))
+       if (!fgets(string, 999, stdin))
                return NULL;
        temp = strchr(string, '\n');
        *temp = '\0';
                return NULL;
        temp = strchr(string, '\n');
        *temp = '\0';