[telepathy-salut/master] gibber_unix_transport_read: call credentials cb if recvmsg went wrong

Guillaume Desmottes guillaume.desmottes at collabora.co.uk
Tue May 12 10:11:54 PDT 2009


---
 lib/gibber/gibber-unix-transport.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/lib/gibber/gibber-unix-transport.c b/lib/gibber/gibber-unix-transport.c
index 2f1fd45..8719714 100644
--- a/lib/gibber/gibber-unix-transport.c
+++ b/lib/gibber/gibber-unix-transport.c
@@ -289,6 +289,8 @@ gibber_unix_transport_read (GibberFdTransport *transport,
       g_set_error_literal (error, G_IO_CHANNEL_ERROR,
           g_io_channel_error_from_errno (errno), "recvmsg failed");
 
+      priv->recv_creds_cb (self, NULL, NULL, priv->recv_creds_data);
+
       priv->recv_creds_cb = NULL;
       priv->recv_creds_data = NULL;
       return GIBBER_FD_IO_RESULT_ERROR;
-- 
1.5.6.5




More information about the telepathy-commits mailing list