[Freeswitch-trunk] [commit] r13877 - freeswitch/trunk/src/mod/event_handlers/mod_event_multicast
FreeSWITCH SVN
mikej at freeswitch.org
Fri Jun 19 20:29:55 PDT 2009
Author: mikej
Date: Fri Jun 19 22:29:55 2009
New Revision: 13877
Log:
trivial build fix (FSBUILD-174)
Modified:
freeswitch/trunk/src/mod/event_handlers/mod_event_multicast/mod_event_multicast.c
Modified: freeswitch/trunk/src/mod/event_handlers/mod_event_multicast/mod_event_multicast.c
==============================================================================
--- freeswitch/trunk/src/mod/event_handlers/mod_event_multicast/mod_event_multicast.c (original)
+++ freeswitch/trunk/src/mod/event_handlers/mod_event_multicast/mod_event_multicast.c Fri Jun 19 22:29:55 2009
@@ -178,7 +178,7 @@
switch_core_hash_destroy(&globals.event_hash);
globals.event_hash = NULL;
switch_core_hash_init(&globals.event_hash, module_pool);
- bzero(globals.event_list, SWITCH_EVENT_ALL);
+ memset(globals.event_list, 0, SWITCH_EVENT_ALL);
if (load_config() != SWITCH_STATUS_SUCCESS) {
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_WARNING, "Failed to reload config file\n");
} else {
@@ -221,7 +221,7 @@
len = strlen(packet) + sizeof(globals.host_hash) + strlen((char*) MAGIC);
#endif
buf = malloc(len + 1);
- bzero(buf, len + 1);
+ memset(buf, 0, len + 1);
switch_assert(buf);
memcpy(buf, &globals.host_hash, sizeof(globals.host_hash));
More information about the Freeswitch-trunk
mailing list