Move errno-protection into string_open_failed()
[exim.git] / src / src / rda.c
index aed8abc246b54b5e1a764f0e13171c827f958542..5615b64d5b893edb93f0e0c5686b31d0e1dbba58 100644 (file)
@@ -222,7 +222,7 @@ if (!(fwd = Ufopen(filename, "rb"))) switch(errno)
 
 DEFAULT_ERROR:
   default:
-    *error = string_open_failed(errno, "%s", filename);
+    *error = string_open_failed("%s", filename);
     *yield = FF_ERROR;
     return NULL;
   }