[asterisk-commits] dlee: branch dlee/ASTERISK-21969 r396473 - /team/dlee/ASTERISK-21969/res/stasis/

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Thu Aug 8 16:26:00 CDT 2013


Author: dlee
Date: Thu Aug  8 16:25:58 2013
New Revision: 396473

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=396473
Log:
oops

Modified:
    team/dlee/ASTERISK-21969/res/stasis/app.c

Modified: team/dlee/ASTERISK-21969/res/stasis/app.c
URL: http://svnview.digium.com/svn/asterisk/team/dlee/ASTERISK-21969/res/stasis/app.c?view=diff&rev=396473&r1=396472&r2=396473
==============================================================================
--- team/dlee/ASTERISK-21969/res/stasis/app.c (original)
+++ team/dlee/ASTERISK-21969/res/stasis/app.c Thu Aug  8 16:25:58 2013
@@ -365,7 +365,7 @@
 
         update = stasis_message_data(message);
 
-	ast_assert(update->type == ast_bridge_snapshot_type());
+	ast_assert(update->type == ast_channel_snapshot_type());
 
         new_snapshot = stasis_message_data(update->new_snapshot);
         old_snapshot = stasis_message_data(update->old_snapshot);
@@ -628,7 +628,7 @@
 
 			res = ao2_link_flags(app->forwards, forwards,
 				OBJ_NOLOCK);
-			if (res != 0) {
+			if (!res) {
 				return -1;
 			}
 		}




More information about the asterisk-commits mailing list