[asterisk-commits] dlee: branch dlee/tp-local r399872 - /team/dlee/tp-local/main/stasis.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Thu Sep 26 08:58:56 CDT 2013
Author: dlee
Date: Thu Sep 26 08:58:54 2013
New Revision: 399872
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=399872
Log:
Removed silly check
Modified:
team/dlee/tp-local/main/stasis.c
Modified: team/dlee/tp-local/main/stasis.c
URL: http://svnview.digium.com/svn/asterisk/team/dlee/tp-local/main/stasis.c?view=diff&rev=399872&r1=399871&r2=399872
==============================================================================
--- team/dlee/tp-local/main/stasis.c (original)
+++ team/dlee/tp-local/main/stasis.c Thu Sep 26 08:58:54 2013
@@ -533,17 +533,12 @@
ast_assert(topic != NULL);
ast_assert(message != NULL);
- if (ast_vector_size(topic->subscribers) == 0) {
- return;
- }
-
for (i = 0; i < ast_vector_size(topic->subscribers); ++i) {
- struct stasis_subscription *sub = ast_vector_get(topic->subscribers, i);
+ struct stasis_subscription *sub =
+ ast_vector_get(topic->subscribers, i);
ast_assert(sub != NULL);
-
dispatch_message(sub, message);
-
}
}
More information about the asterisk-commits
mailing list