[asterisk-commits] mmichelson: branch group/CCSS r217474 - /team/group/CCSS/apps/app_dial.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Wed Sep 9 14:28:23 CDT 2009
Author: mmichelson
Date: Wed Sep 9 14:28:20 2009
New Revision: 217474
URL: http://svn.asterisk.org/svn-view/asterisk?view=rev&rev=217474
Log:
Fix a silly logic error.
Modified:
team/group/CCSS/apps/app_dial.c
Modified: team/group/CCSS/apps/app_dial.c
URL: http://svn.asterisk.org/svn-view/asterisk/team/group/CCSS/apps/app_dial.c?view=diff&rev=217474&r1=217473&r2=217474
==============================================================================
--- team/group/CCSS/apps/app_dial.c (original)
+++ team/group/CCSS/apps/app_dial.c Wed Sep 9 14:28:20 2009
@@ -1978,7 +1978,7 @@
/* We set the core_created flag to 1 even if the core instance creation was
* unsuccessful. This way we don't keep attempting to do it and keep failing.
*/
- if (core_id == -1) {
+ if (core_id != -1) {
snprintf(core_id_str, sizeof(core_id_str), "%d", core_id);
pbx_builtin_setvar_helper(inbound, "CC_AVAIL", core_id_str);
}
More information about the asterisk-commits
mailing list