empathy r633 - trunk/libempathy



Author: xclaesse
Date: Fri Feb 15 15:44:10 2008
New Revision: 633
URL: http://svn.gnome.org/viewvc/empathy?rev=633&view=rev

Log:
If there is an error when listing streams, return for the func to avoid crashing later.


Modified:
   trunk/libempathy/empathy-tp-call.c

Modified: trunk/libempathy/empathy-tp-call.c
==============================================================================
--- trunk/libempathy/empathy-tp-call.c	(original)
+++ trunk/libempathy/empathy-tp-call.c	Fri Feb 15 15:44:10 2008
@@ -129,6 +129,7 @@
       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++)



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]