don't duplicate string on password or account prompt
authorGreg Kroah-Hartman <gregkh@suse.de>
Wed, 4 Feb 2009 17:57:42 +0000 (09:57 -0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 4 Feb 2009 17:57:42 +0000 (09:57 -0800)
bti.c

diff --git a/bti.c b/bti.c
index 09a31f4..b4af7f0 100644 (file)
--- a/bti.c
+++ b/bti.c
@@ -513,12 +513,12 @@ int main(int argc, char *argv[], char *envp[])
 
        if (!session->account) {
                fprintf(stdout, "Enter twitter account: ");
 
        if (!session->account) {
                fprintf(stdout, "Enter twitter account: ");
-               session->account = get_string_from_stdin("account: ");
+               session->account = get_string_from_stdin("");
        }
 
        if (!session->password) {
                fprintf(stdout, "Enter twitter password: ");
        }
 
        if (!session->password) {
                fprintf(stdout, "Enter twitter password: ");
-               session->password = get_string_from_stdin("password: ");
+               session->password = get_string_from_stdin("");
        }
 
        if (session->bash)
        }
 
        if (session->bash)