summaryrefslogtreecommitdiff
path: root/lib/Domain.cc
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Domain.cc')
-rw-r--r--lib/Domain.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/Domain.cc b/lib/Domain.cc
index d94bf47..6114e90 100644
--- a/lib/Domain.cc
+++ b/lib/Domain.cc
@@ -63,17 +63,17 @@ void Domain::OnTop() {
next->prev = this;
}
-Domain * Domain::find_domain(const String & url) {
+Domain * Domain::find_domain(const String & url, int nmatches, regmatch_t * pmatches) {
Domain * r = 0;
if (head)
- r = head->find_domain_r(url);
+ r = head->find_domain_r(url, nmatches, pmatches);
return r;
}
-Domain * Domain::find_domain_r(const String & url) {
- if (pattern.Match(url))
+Domain * Domain::find_domain_r(const String & url, int nmatches, regmatch_t * pmatches) {
+ if (pattern.Match(url, nmatches, pmatches))
return this;
if (next)