[Telepathy-commits] [telepathy-salut/master] group declarations at the beginning of the block
Alban Crequy
alban.crequy at collabora.co.uk
Tue Nov 25 03:59:22 PST 2008
---
src/salut-tubes-channel.c | 9 ++++-----
1 files changed, 4 insertions(+), 5 deletions(-)
diff --git a/src/salut-tubes-channel.c b/src/salut-tubes-channel.c
index 255af3c..81bb6b0 100644
--- a/src/salut-tubes-channel.c
+++ b/src/salut-tubes-channel.c
@@ -1814,17 +1814,15 @@ _send_channel_iq_tube (gpointer key,
GError *error = NULL;
GibberXmppNode *parameters_node;
const char *tube_type_str;
-
- DEBUG ("Tube in remote pending state");
-
GibberXmppStanza *stanza;
const gchar *jid_from, *jid_to;
TpHandleRepoIface *contact_repo;
-
- gchar *tube_id_str = g_strdup_printf ("%d", tube_id);
+ gchar *tube_id_str;
int port;
gchar *port_str;
+ DEBUG ("Tube in remote pending state");
+
/* listen for future connections from the remote CM before sending the
* iq */
SalutDirectBytestreamManager *direct_bytestream_mgr;
@@ -1859,6 +1857,7 @@ _send_channel_iq_tube (gpointer key,
}
port_str = g_strdup_printf ("%d", port);
+ tube_id_str = g_strdup_printf ("%d", tube_id);
stanza = gibber_xmpp_stanza_build (GIBBER_STANZA_TYPE_IQ,
GIBBER_STANZA_SUB_TYPE_SET,
--
1.5.6.5
More information about the Telepathy-commits
mailing list