*
* srvx is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
+ * the Free Software Foundation; either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
}
static void
-mail_common_cleanup(void)
+mail_common_cleanup(UNUSED_ARG(void *extra))
{
dict_delete(prohibited_addrs);
dict_delete(prohibited_masks);
prohibited_masks = dict_new();
dict_set_free_keys(prohibited_masks, free);
dict_set_free_data(prohibited_masks, free);
- reg_exit_func(mail_common_cleanup);
+ reg_exit_func(mail_common_cleanup, NULL);
saxdb_register("sendmail", mail_saxdb_read, mail_saxdb_write);
mail_module = module_register("sendmail", MAIN_LOG, "mail.help", NULL);
modcmd_register(mail_module, "banemail", cmd_banemail, 3, 0, "level", "601", NULL);