--- 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);