Fix config file handling for audiod and clean up init functions.
[paraslash.git] / recv.c
diff --git a/recv.c b/recv.c
index df8b9ce..4f595e3 100644 (file)
--- a/recv.c
+++ b/recv.c
@@ -79,8 +79,7 @@ int main(int argc, char *argv[])
 
        memset(&sot, 0, sizeof(struct stdout_task));
        memset(&rn, 0, sizeof(struct receiver_node));
-       FOR_EACH_RECEIVER(ret)
-               receivers[ret].init(&receivers[ret]);
+       recv_init();
        ret = -E_RECV_SYNTAX;
        rn.conf = parse_config(argc, argv, &receiver_num);
        if (!rn.conf) {