Reduce number of places knowing about filename-construction for mbox file-for-scanning
[exim.git] / src / src / regex.c
index 9274f9095bb83bd027129baa8872512d9699369b..3560bef529a813158ab690991fd650832da394de 100644 (file)
@@ -105,7 +105,7 @@ regex_match_string = NULL;
 
 if (!mime_stream)                              /* We are in the DATA ACL */
   {
-  if (!(mbox_file = spool_mbox(&mbox_size, NULL)))
+  if (!(mbox_file = spool_mbox(&mbox_size, NULL, NULL)))
     {                                          /* error while spooling */
     log_write(0, LOG_MAIN|LOG_PANIC,
           "regex acl condition: error while creating mbox spool file");