projects
/
apps
/
pfixtools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add log_format configuration variable.
[apps/pfixtools.git]
/
postlicyd
/
filter.h
diff --git
a/postlicyd/filter.h
b/postlicyd/filter.h
index
39c3119
..
c50169d
100644
(file)
--- a/
postlicyd/filter.h
+++ b/
postlicyd/filter.h
@@
-242,9
+242,9
@@
bool filter_test(const filter_t *filter, const query_t *query,
/* Parsing Helpers
*/
/* Parsing Helpers
*/
-#define FILTER_PARAM_PARSE_STRING(Param, Dest
)
\
+#define FILTER_PARAM_PARSE_STRING(Param, Dest
, Copy)
\
case ATK_ ## Param: { \
case ATK_ ## Param: { \
- (Dest) =
param->value;
\
+ (Dest) =
(Copy) ? m_strdup(param->value) : param->value;
\
} break
#define FILTER_PARAM_PARSE_INT(Param, Dest) \
} break
#define FILTER_PARAM_PARSE_INT(Param, Dest) \