Move errno-protection into string_open_failed()
[exim.git] / src / src / match.c
index 18de9779641a11138e42c72e3014ff3d3b516535..6a331419422b8a06134206e7c46d4f3d6b4af35a 100644 (file)
@@ -786,7 +786,7 @@ while ((sss = string_nextinlist(&list, &sep, NULL, 0)))
       if (listname[0] == 0)
         listname = string_sprintf("\"%s\"", *listptr);
       log_write(0, LOG_MAIN|LOG_PANIC_DIE, "%s",
-        string_open_failed(errno, "%s when checking %s", sss, listname));
+        string_open_failed("%s when checking %s", sss, listname));
       }
 
     /* Trailing comments are introduced by #, but in an address list or local