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 44a4050..1c5a856 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) {