X-Git-Url: http://git.madism.org/?a=blobdiff_plain;f=postlicyd%2Ftst-filters.c;h=9de410c1fca53c10b7f88ec7d87e9bb0f068cd30;hb=92dc834e982d4b71ce6a3fcc2c973e555afd3fcf;hp=2e322fb5884f09e3b9adf89701d0f2f3fc374536;hpb=520b2f3bb198bfbb88b90b058ef610f0a9b980c6;p=apps%2Fpfixtools.git diff --git a/postlicyd/tst-filters.c b/postlicyd/tst-filters.c index 2e322fb..9de410c 100644 --- a/postlicyd/tst-filters.c +++ b/postlicyd/tst-filters.c @@ -38,10 +38,6 @@ #include "file.h" #include -#define DAEMON_NAME "tst-filters" - -DECLARE_MAIN - static char *read_query(const char *basepath, const char *filename, char *buff, char **end, query_t *q) { @@ -189,6 +185,7 @@ int main(int argc, char *argv[]) char path[FILENAME_MAX]; char *p; + common_startup(); p = strrchr(argv[0], '/'); if (p == NULL) { p = argv[0]; @@ -241,6 +238,5 @@ int main(int argc, char *argv[]) #undef RUN - config_delete(&config); return 0; }