]> git.pld-linux.org Git - packages/gg2.git/blob - gg2-tmpdir.patch
- up to 2.0.3
[packages/gg2.git] / gg2-tmpdir.patch
1 --- src/plugins/gadu_gadu/gadu_gadu_plugin.c    4 May 2004 21:39:10 -0000       1.168
2 +++ src/plugins/gadu_gadu/gadu_gadu_plugin.c    5 May 2004 19:42:35 -0000       1.169
3 @@ -931,7 +931,7 @@
4                 return NULL;
5         }
6  
7 -       token_image_path = g_build_filename(this_configdir, "register-token.tmp", NULL);
8 +       token_image_path = g_build_filename(g_get_tmp_dir(), "register-token.tmp", NULL);
9         print_debug("Gonna write token to %s\n", token_image_path);
10         ch = g_io_channel_new_file(token_image_path, "w", NULL);
11         if (!ch)
12 @@ -2279,7 +2279,7 @@
13                 gchar *reg_password = NULL;
14                 gchar *reg_token = NULL;
15                 gboolean reg_update = FALSE;
16 -               gchar *token_image_path = g_build_filename(this_configdir, "register-token.tmp", NULL);
17 +               gchar *token_image_path = g_build_filename(g_get_tmp_dir(), "register-token.tmp", NULL);
18  
19                 if (g_file_test(token_image_path, G_FILE_TEST_IS_REGULAR))
20                         unlink(token_image_path);
This page took 0.07711 seconds and 3 git commands to generate.