[commit] r5112 - freeswitch/trunk/src/mod/endpoints/mod_sofia
Author: mikej Date: Wed May 9 11:49:01 2007 New Revision: 5112 Modified: freeswitch/trunk/src/mod/endpoints/mod_sofia/sofia.c Log: make sure to initialize gateway->next Modified: freeswitch/trunk/src/mod/endpoints/mod_sofia/sofia.c ============================================================================== --- freeswitch/trunk/src/mod/endpoints/mod_sofia/sofia.c (original) +++ freeswitch/trunk/src/mod/endpoints/mod_sofia/sofia.c Wed May 9 11:49:01 2007 @@ -489,7 +489,7 @@ gateway->profile = profile; gateway->name = switch_core_strdup(gateway->pool, name); gateway->freq = 0; - + gateway->next = NULL; for (param = switch_xml_child(gateway_tag, "param"); param; param = param->next) { char *var = (char *) switch_xml_attr_soft(param, "name");
participants (1)
-
Freeswitch SVN