From: Xavier Claessens Date: Fri, 15 Feb 2008 15:44:10 +0000 (+0000) Subject: If there is an error when listing streams, return for the func to avoid crashing... X-Git-Url: https://git.0d.be/?p=empathy.git;a=commitdiff_plain;h=635876291e5e3277f979c1b0b413ee0c51b469fe If there is an error when listing streams, return for the func to avoid crashing later. svn path=/trunk/; revision=633 --- diff --git a/libempathy/empathy-tp-call.c b/libempathy/empathy-tp-call.c index 1e2473e1..c9da1749 100644 --- a/libempathy/empathy-tp-call.c +++ b/libempathy/empathy-tp-call.c @@ -129,6 +129,7 @@ tp_call_identify_streams (EmpathyTpCall *call) empathy_debug (DEBUG_DOMAIN, "Couldn't list audio/video streams: %s", error->message); g_clear_error (&error); + return; } for (i = 0; i < stream_infos->len; i++)