]> git.pld-linux.org Git - packages/gg2.git/commitdiff
- cvs patch fix path location with token file
authorMarcin Krzyżanowski <marcin.krzyzanowski@hakore.com>
Thu, 6 May 2004 07:58:22 +0000 (07:58 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    gg2-tmpdir.patch -> 1.1

gg2-tmpdir.patch [new file with mode: 0644]

diff --git a/gg2-tmpdir.patch b/gg2-tmpdir.patch
new file mode 100644 (file)
index 0000000..24089a8
--- /dev/null
@@ -0,0 +1,20 @@
+--- src/plugins/gadu_gadu/gadu_gadu_plugin.c   4 May 2004 21:39:10 -0000       1.168
++++ src/plugins/gadu_gadu/gadu_gadu_plugin.c   5 May 2004 19:42:35 -0000       1.169
+@@ -931,7 +931,7 @@
+               return NULL;
+       }
+-      token_image_path = g_build_filename(this_configdir, "register-token.tmp", NULL);
++      token_image_path = g_build_filename(g_get_tmp_dir(), "register-token.tmp", NULL);
+       print_debug("Gonna write token to %s\n", token_image_path);
+       ch = g_io_channel_new_file(token_image_path, "w", NULL);
+       if (!ch)
+@@ -2279,7 +2279,7 @@
+               gchar *reg_password = NULL;
+               gchar *reg_token = NULL;
+               gboolean reg_update = FALSE;
+-              gchar *token_image_path = g_build_filename(this_configdir, "register-token.tmp", NULL);
++              gchar *token_image_path = g_build_filename(g_get_tmp_dir(), "register-token.tmp", NULL);
+               if (g_file_test(token_image_path, G_FILE_TEST_IS_REGULAR))
+                       unlink(token_image_path);
This page took 0.083498 seconds and 4 git commands to generate.