X-Git-Url: https://code.citadel.org/?p=citadel.git;a=blobdiff_plain;f=citadel%2Fmodules%2Fnetwork%2Fserv_network.c;h=eeca28afc46a2a40d4107e0711602012fa5465e6;hp=1f610f258f67f2bcb41ddc73d04b04f6a93a6f1c;hb=8e944083763c9ddcb32d763cf8f19c966d01f873;hpb=ab6b11ab4005e990fbb368b14c42630b7694c54f diff --git a/citadel/modules/network/serv_network.c b/citadel/modules/network/serv_network.c index 1f610f258..eeca28afc 100644 --- a/citadel/modules/network/serv_network.c +++ b/citadel/modules/network/serv_network.c @@ -1,7 +1,7 @@ /* * This module handles network mail and mailing list processing. * - * Copyright (c) 2000-2019 by the citadel.org team + * Copyright (c) 2000-2021 by the citadel.org team * * This program is open source software; you can redistribute it and/or modify * it under the terms of the GNU General Public License, version 3. @@ -191,13 +191,6 @@ void destroy_network_queue_room(RoomProcList *rplist) } } -void destroy_network_queue_room_locked (void) -{ - begin_critical_section(S_RPLIST); - destroy_network_queue_room(rplist); - end_critical_section(S_RPLIST); -} - /* * network_do_queue() @@ -322,7 +315,6 @@ CTDL_MODULE_INIT(network) if (!threading) { CtdlRegisterRoomHook(network_room_handler); - CtdlRegisterCleanupHook(destroy_network_queue_room_locked); CtdlRegisterSessionHook(network_do_queue, EVT_TIMER, PRIO_QUEUE + 10); } return "network";