Fixed g_strconcat() bug in cache dirname creation (forgot trailing NULL).
authorNils Faerber <nils@kernelconcepts.de>
Wed, 10 May 2006 14:43:52 +0000 (14:43 +0000)
committerNils Faerber <nils@kernelconcepts.de>
Wed, 10 May 2006 14:43:52 +0000 (14:43 +0000)
pmo-trunk-r31

src/modest-tny-account-store.c

index 2b63752..16fd1a4 100644 (file)
@@ -378,7 +378,7 @@ modest_tny_account_store_get_cache_dir (TnyAccountStoreIface *self)
 gchar *cache_dir;
 
        if (g_getenv("HOME") != NULL)
-               cache_dir = g_strconcat(g_getenv("HOME"), "/.modest/cache/");
+               cache_dir = g_strconcat(g_getenv("HOME"), "/.modest/cache/", NULL);
        else
                cache_dir = NULL;