]> git.deb.at Git - pkg/abook.git/commitdiff
fixed a bug in datafile name handling
authorJaakko Heinonen <jheinonen@users.sourceforge.net>
Fri, 8 Mar 2002 12:24:59 +0000 (12:24 +0000)
committerJaakko Heinonen <jheinonen@users.sourceforge.net>
Fri, 8 Mar 2002 12:24:59 +0000 (12:24 +0000)
abook.c

diff --git a/abook.c b/abook.c
index da165382683649f3fb596b1e13e285c8e4ce5a1d..faa8055cbf1b4e668f652cf7e81fe83b0f099fc2 100644 (file)
--- a/abook.c
+++ b/abook.c
@@ -242,7 +242,7 @@ set_filename(char **var, char *path)
 
        cwd = my_getcwd();
 
-       *var = strconcat(cwd, path, NULL);
+       *var = strconcat(cwd, "/", path, NULL);
 
        free(cwd);
 }