projects
/
apps
/
pfixtools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Port strlist to use async DNS.
[apps/pfixtools.git]
/
postlicyd
/
tst-filters.c
diff --git
a/postlicyd/tst-filters.c
b/postlicyd/tst-filters.c
index
2e322fb
..
9de410c
100644
(file)
--- a/
postlicyd/tst-filters.c
+++ b/
postlicyd/tst-filters.c
@@
-38,10
+38,6
@@
#include "file.h"
#include <dirent.h>
#include "file.h"
#include <dirent.h>
-#define DAEMON_NAME "tst-filters"
-
-DECLARE_MAIN
-
static char *read_query(const char *basepath, const char *filename,
char *buff, char **end, query_t *q)
{
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;
char path[FILENAME_MAX];
char *p;
+ common_startup();
p = strrchr(argv[0], '/');
if (p == NULL) {
p = argv[0];
p = strrchr(argv[0], '/');
if (p == NULL) {
p = argv[0];
@@
-241,6
+238,5
@@
int main(int argc, char *argv[])
#undef RUN
#undef RUN
- config_delete(&config);
return 0;
}
return 0;
}