[asterisk-commits] mnicholson: branch irroot/t38gateway-trunk r323909 - /team/irroot/t38gateway-...
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Wed Jun 15 15:27:40 CDT 2011
Author: mnicholson
Date: Wed Jun 15 15:27:32 2011
New Revision: 323909
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=323909
Log:
minor code cleanups
Modified:
team/irroot/t38gateway-trunk/res/res_fax_spandsp.c
Modified: team/irroot/t38gateway-trunk/res/res_fax_spandsp.c
URL: http://svnview.digium.com/svn/asterisk/team/irroot/t38gateway-trunk/res/res_fax_spandsp.c?view=diff&rev=323909&r1=323908&r2=323909
==============================================================================
--- team/irroot/t38gateway-trunk/res/res_fax_spandsp.c (original)
+++ team/irroot/t38gateway-trunk/res/res_fax_spandsp.c Wed Jun 15 15:27:32 2011
@@ -212,10 +212,10 @@
ast_frfree(f);
return res;
}
- }
-
- /* no need to lock, this all runs in the same thread */
- AST_LIST_INSERT_TAIL(&p->read_frames, f, frame_list);
+ } else {
+ /* no need to lock, this all runs in the same thread */
+ AST_LIST_INSERT_TAIL(&p->read_frames, f, frame_list);
+ }
return 0;
}
More information about the asterisk-commits
mailing list