[telepathy-gabble/master] get_local_unix_socket_path: use gabble_ft_manager_get_tmp_dir

Guillaume Desmottes guillaume.desmottes at collabora.co.uk
Mon Mar 30 07:09:20 PDT 2009


---
 src/ft-channel.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/src/ft-channel.c b/src/ft-channel.c
index e684fb8..ba9daeb 100644
--- a/src/ft-channel.c
+++ b/src/ft-channel.c
@@ -1453,7 +1453,8 @@ get_local_unix_socket_path (GabbleFileTransferChannel *self)
     {
       random_int = g_random_int_range (0, G_MAXINT32);
       random_str = g_strdup_printf ("tp-ft-%i", random_int);
-      path = g_build_filename (g_get_tmp_dir (), random_str, NULL);
+      path = g_build_filename (gabble_ft_manager_get_tmp_dir (
+            self->priv->connection->ft_manager), random_str, NULL);
       g_free (random_str);
 
       if (g_stat (path, &buf) != 0)
-- 
1.5.6.5




More information about the telepathy-commits mailing list