/*
- * Copyright (C) 2012 Andre Noll <maan@systemlinux.org>
+ * Copyright (C) 2012-2013 Andre Noll <maan@systemlinux.org>
*
* Licensed under the GPL v2. For licencing details see COPYING.
*/
/** \file play.c Paraslash's standalone player. */
#include <regex.h>
-#include <sys/time.h>
#include <fnmatch.h>
#include <signal.h>
register_writer_node(&pt->wn, pt->fn.btrn, &sched);
return 1;
fail:
- afh_recv->close(&pt->rn);
- btr_remove_node(&pt->rn.btrn);
- afh_recv->free_config(pt->rn.conf);
+ wipe_receiver_node(pt);
return ret;
}
filter_init();
writer_init();
- gettimeofday(now, NULL);
+ clock_get_realtime(now);
sched.default_timeout.tv_sec = 5;
parse_config_or_die(argc, argv);