more messing with directory format
authorGreg Kroah-Hartman <gregkh@suse.de>
Tue, 20 May 2008 00:27:07 +0000 (17:27 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 20 May 2008 00:27:07 +0000 (17:27 -0700)
bti.c

diff --git a/bti.c b/bti.c
index 44a4050a3d586152398c64426cbdd4f8e78305ec..1c5a85633a2e61c802ee15970fc9fed9cbc7d080 100644 (file)
--- a/bti.c
+++ b/bti.c
@@ -373,7 +373,7 @@ int main(int argc, char *argv[], char *envp[])
         * coming from a shell */
        tweet = get_string_from_stdin();
        session->tweet = zalloc(strlen(tweet) + strlen(dir) + 10);
-       sprintf(session->tweet, "%s/ $ %s", dir, tweet);
+       sprintf(session->tweet, "%s $ %s", dir, tweet);
        free(tweet);
 
        if (strlen(session->tweet) == 0) {