projects
/
privoxy.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
GNUmakefile.in: Don't exit if configuration files are installed as root
[privoxy.git]
/
client-tags.c
diff --git
a/client-tags.c
b/client-tags.c
index
51e8a9c
..
d8cbb35
100644
(file)
--- a/
client-tags.c
+++ b/
client-tags.c
@@
-43,6
+43,7
@@
#include "miscutil.h"
#include "errlog.h"
#include "parsers.h"
#include "miscutil.h"
#include "errlog.h"
#include "parsers.h"
+#include "urlmatch.h"
struct client_specific_tag
{
struct client_specific_tag
{
@@
-658,7
+659,7
@@
int client_tag_match(const struct pattern_spec *pattern,
for (tag = tags->first; tag != NULL; tag = tag->next)
{
for (tag = tags->first; tag != NULL; tag = tag->next)
{
- if (
0 == regexec(pattern->pattern.tag_regex, tag->str, 0, NULL, 0
))
+ if (
regex_matches(pattern->pattern.tag_regex, tag->str
))
{
log_error(LOG_LEVEL_TAGGING, "Client tag '%s' matches.", tag->str);
return 1;
{
log_error(LOG_LEVEL_TAGGING, "Client tag '%s' matches.", tag->str);
return 1;