diff options
author | Enno Boland (Gottox) <gottox@s01.de> | 2009-06-08 09:39:00 +0200 |
---|---|---|
committer | Enno Boland (Gottox) <gottox@s01.de> | 2009-06-08 09:39:00 +0200 |
commit | 92e8fd101c7b74cd9139bcdd061ab4a58f19a193 (patch) | |
tree | bfbce7e1e3fe035bdf4beb81be880fd14a9d88c5 /surf.c | |
parent | 05bf05e4a2f0f928106438fb4f4d9fffbb9f7283 (diff) | |
download | surf-92e8fd101c7b74cd9139bcdd061ab4a58f19a193.tar.gz surf-92e8fd101c7b74cd9139bcdd061ab4a58f19a193.tar.bz2 surf-92e8fd101c7b74cd9139bcdd061ab4a58f19a193.zip |
adding surf-directory.
Diffstat (limited to 'surf.c')
-rw-r--r-- | surf.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -472,7 +472,8 @@ int main(int argc, char *argv[]) { /* cookie persistance */ s = webkit_get_default_session(); home = g_get_home_dir(); - filename = g_build_filename(home, ".surf-cookies", NULL); + filename = g_build_filename(home, ".surf", "cookies", NULL); + g_mkdir(g_path_get_dirname(filename), 0755); cookiejar = soup_cookie_jar_text_new(filename, FALSE); soup_session_add_feature(s, SOUP_SESSION_FEATURE(cookiejar)); |