summaryrefslogtreecommitdiff
path: root/src/gmcerts.c
diff options
context:
space:
mode:
authorJaakko Keränen <jaakko.keranen@iki.fi>2020-08-24 09:45:36 +0300
committerJaakko Keränen <jaakko.keranen@iki.fi>2020-08-24 09:45:36 +0300
commitfbf36dfbf77701d647f0133f1532ebc42eb05e32 (patch)
tree6d32e92db2d4d9222fe58390669de90a482f71a5 /src/gmcerts.c
parent1064d21387d7c9e1b8468c63a24667a50894e465 (diff)
Initialize RegExpMatches
Diffstat (limited to 'src/gmcerts.c')
-rw-r--r--src/gmcerts.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gmcerts.c b/src/gmcerts.c
index 2600b4cf..b8fb6a7f 100644
--- a/src/gmcerts.c
+++ b/src/gmcerts.c
@@ -266,6 +266,7 @@ static void load_GmCerts_(iGmCerts *d) {
266 iRangecc line = iNullRange; 266 iRangecc line = iNullRange;
267 while (nextSplit_Rangecc(&src, "\n", &line)) { 267 while (nextSplit_Rangecc(&src, "\n", &line)) {
268 iRegExpMatch m; 268 iRegExpMatch m;
269 init_RegExpMatch(&m);
269 if (matchRange_RegExp(pattern, line, &m)) { 270 if (matchRange_RegExp(pattern, line, &m)) {
270 const iRangecc domain = capturedRange_RegExpMatch(&m, 1); 271 const iRangecc domain = capturedRange_RegExpMatch(&m, 1);
271 const iRangecc until = capturedRange_RegExpMatch(&m, 2); 272 const iRangecc until = capturedRange_RegExpMatch(&m, 2);