#include "context.h"
#include "netconfig.h"
#include "netspool.h"
+#include "netmail.h"
#include "ctdl_module.h"
* Spools out one message from the list.
*/
void network_spool_msg(long msgnum,
- void *userdata,
- char *working_ignetcfg,
- NetMap *the_netmap)
+ void *userdata)
{
SpoolControl *sc;
int i;
if (is_valid_node(NULL,
NULL,
msg->cm_fields['N'],
- working_ignetcfg,
- the_netmap) == 0)
+ sc->working_ignetcfg,
+ sc->the_netmap) == 0)
{
ok_to_participate = 1;
}
if (is_valid_node(NULL,
NULL,
mptr->remote_nodename,
- working_ignetcfg,
- the_netmap) != 0)
+ sc->working_ignetcfg,
+ sc->the_netmap) != 0)
{
syslog(LOG_ERR, "Invalid node <%s>\n", mptr->remote_nodename);
send = 0;