From 786c7710f1280f4e7c1cc406245698b714a989b3 Mon Sep 17 00:00:00 2001 From: Michael Jerris Date: Sat, 20 Jun 2009 03:29:55 +0000 Subject: [PATCH] trivial build fix (FSBUILD-174) git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13877 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- .../event_handlers/mod_event_multicast/mod_event_multicast.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/mod/event_handlers/mod_event_multicast/mod_event_multicast.c b/src/mod/event_handlers/mod_event_multicast/mod_event_multicast.c index d12bc0923f..4e26c1c34b 100644 --- a/src/mod/event_handlers/mod_event_multicast/mod_event_multicast.c +++ b/src/mod/event_handlers/mod_event_multicast/mod_event_multicast.c @@ -178,7 +178,7 @@ static void event_handler(switch_event_t *event) 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 @@ static void event_handler(switch_event_t *event) 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));