[Freeswitch-trunk] [commit] r12449 - freeswitch/trunk/src

FreeSWITCH SVN mrene at freeswitch.org
Wed Mar 4 21:41:40 PST 2009


Author: mrene
Date: Wed Mar  4 23:41:40 2009
New Revision: 12449

Log:
oops

Modified:
   freeswitch/trunk/src/switch_xml_config.c

Modified: freeswitch/trunk/src/switch_xml_config.c
==============================================================================
--- freeswitch/trunk/src/switch_xml_config.c	(original)
+++ freeswitch/trunk/src/switch_xml_config.c	Wed Mar  4 23:41:40 2009
@@ -181,8 +181,8 @@
 			case SWITCH_CONFIG_FLAGARRAY:
 				{
 					int8_t *dest = (int8_t*)item->ptr;
-					int index = (int)(intptr_t)item->data;
-					int newval = value ? !!switch_true(value) : (int8_t)((intptr_t)item->defaultvalue);
+					int8_t index = (int)(intptr_t)item->data;
+					int8_t newval = value ? !!switch_true(value) : (int8_t)((intptr_t)item->defaultvalue);
 					if (dest[index] != newval) {
 						changed = SWITCH_TRUE;
 						dest[index] = newval;



More information about the Freeswitch-trunk mailing list