diff src/dnsbl.cpp @ 476:fcf66a7aead5 stable-6-0-78

fix dkim regex
author Carl Byington <carl@five-ten-sg.com>
date Sat, 20 Feb 2021 10:24:12 -0800
parents 9b4477b75065
children
line wrap: on
line diff
--- a/src/dnsbl.cpp	Sat Feb 20 10:20:36 2021 -0800
+++ b/src/dnsbl.cpp	Sat Feb 20 10:24:12 2021 -0800
@@ -2063,7 +2063,7 @@
     }
 
     // setup dkim results signature detection
-    if (regcomp(&dkim_r_pattern, "\\sdkim=pass\\s*\([0-9]*-bit key[^\)]*\)\\s*header.d=([^ ]+)\\s", REG_ICASE | REG_EXTENDED)) {
+    if (regcomp(&dkim_r_pattern, "\\sdkim=pass\\s*\\([0-9]*-bit key[^\\)]*\\)\\s*header.d=([^ ]+)\\s", REG_ICASE | REG_EXTENDED)) {
         printf("cannot compile regex pattern to find dkim results signatures\n");
         exit(3);
     }