[Telepathy-commits] [telepathy-gabble/master] bytestream-socks5: re-emit connection-error signals

Guillaume Desmottes guillaume.desmottes at collabora.co.uk
Tue Jan 6 08:41:42 PST 2009


---
 src/bytestream-socks5.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/bytestream-socks5.c b/src/bytestream-socks5.c
index 07fdffe..5f87dfb 100644
--- a/src/bytestream-socks5.c
+++ b/src/bytestream-socks5.c
@@ -591,7 +591,7 @@ socks5_error (GabbleBytestreamSocks5 *self)
 
       DEBUG ("no more streamhosts to try");
 
-      //g_signal_emit (self, signals[CONNECTION_ERROR], 0);
+      g_signal_emit_by_name (self, "connection-error");
 
       g_assert (priv->msg_for_acknowledge_connection != NULL);
       _gabble_connection_send_iq_error (priv->conn,
@@ -1178,7 +1178,7 @@ socks5_init_reply_cb (GabbleConnection *conn,
     {
       DEBUG ("error during Socks5 initiation");
 
-      //g_signal_emit (self, signals[CONNECTION_ERROR], 0);
+      g_signal_emit_by_name (self, "connection-error");
       g_object_set (self, "state", GABBLE_BYTESTREAM_STATE_CLOSED, NULL);
     }
 
-- 
1.5.6.5




More information about the Telepathy-commits mailing list