[Telepathy-commits] [telepathy-gabble/master] After returning an error from gabble_connection_get_capabilities, don't happily carry on regardless (fd.o #15198)

Simon McVittie simon.mcvittie at collabora.co.uk
Tue Aug 19 10:51:59 PDT 2008


20080501164358-53eee-683a93a370cac7d84eb6b8bdd8c441181be00d75.gz
---
 src/gabble-connection.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/src/gabble-connection.c b/src/gabble-connection.c
index b035989..21c2cec 100644
--- a/src/gabble-connection.c
+++ b/src/gabble-connection.c
@@ -2250,6 +2250,7 @@ gabble_connection_get_capabilities (TpSvcConnectionInterfaceCapabilities *iface,
     {
       dbus_g_method_return_error (context, error);
       g_error_free (error);
+      return;
     }
 
   ret = g_ptr_array_new ();
-- 
1.5.6.3




More information about the Telepathy-commits mailing list