Merge "res_calendar: Specialized calendars depend on symbols of general calendar."
[asterisk/asterisk.git] / main / dnsmgr.c
index bfba471..0e5efd6 100644 (file)
@@ -45,8 +45,6 @@
 
 #include "asterisk.h"
 
-ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
-
 #include "asterisk/_private.h"
 #include <regex.h>
 #include <signal.h>
@@ -438,7 +436,7 @@ int dnsmgr_init(void)
        ast_cli_register(&cli_status);
        ast_cli_register(&cli_refresh);
 
-       ast_register_atexit(dnsmgr_shutdown);
+       ast_register_cleanup(dnsmgr_shutdown);
 
        return do_reload(1);
 }
@@ -514,7 +512,6 @@ static int do_reload(int loading)
        }
 
        ast_mutex_unlock(&refresh_lock);
-       manager_event(EVENT_FLAG_SYSTEM, "Reload", "Module: DNSmgr\r\nStatus: %s\r/nMessage: DNSmgr reload Requested\r\n", enabled ? "Enabled" : "Disabled");
 
        return 0;
 }