fix dlen
[citadel.git] / citadel / server / modules / listdeliver / serv_listdeliver.c
index aff0453bb63b8f8392d0697f5e00a626ce1bc4e7..fd1356079f104eaa907075af27275336949b8442 100644 (file)
@@ -1,6 +1,6 @@
 // This module delivers messages to mailing lists.
 //
-// Copyright (c) 2002-2023 by the citadel.org team
+// Copyright (c) 2002-2024 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.
@@ -104,7 +104,7 @@ void listdeliver_do_msg(long msgnum, void *userdata) {
                snprintf(bounce_to, sizeof bounce_to, "room_aide@%s", CtdlGetConfigStr("c_fqdn"));
 
                // Now submit the message
-               struct recptypes *valid = validate_recipients(recipients, NULL, 0);
+               struct recptypes *valid = validate_recipients(recipients, 0);
                if (valid) {
                        valid->bounce_to = strdup(bounce_to);
                        valid->envelope_from = strdup(bounce_to);
@@ -245,5 +245,5 @@ char *ctdl_module_init_listdeliver(void) {
        }
        
        // return our module name for the log
-       return "listsub";
+       return "listdeliver";
 }