[asterisk-commits] mmichelson: branch mmichelson/pool_shark r380430 - /team/mmichelson/pool_shar...
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Tue Jan 29 16:09:10 CST 2013
Author: mmichelson
Date: Tue Jan 29 16:09:07 2013
New Revision: 380430
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=380430
Log:
Only attempt to send an indication if there is a response code to be sent.
Modified:
team/mmichelson/pool_shark/channels/chan_gulp.c
Modified: team/mmichelson/pool_shark/channels/chan_gulp.c
URL: http://svnview.digium.com/svn/asterisk/team/mmichelson/pool_shark/channels/chan_gulp.c?view=diff&rev=380430&r1=380429&r2=380430
==============================================================================
--- team/mmichelson/pool_shark/channels/chan_gulp.c (original)
+++ team/mmichelson/pool_shark/channels/chan_gulp.c Tue Jan 29 16:09:07 2013
@@ -418,7 +418,7 @@
break;
}
- if (!res) {
+ if (!res && response_code) {
struct indicate_data *ind_data = indicate_data_alloc(session, condition, response_code, data, datalen);
if (!ind_data) {
res = -1;
More information about the asterisk-commits
mailing list