tidying
[exim.git] / src / src / transports / autoreply.c
index ba6669b4d36f131c6ed3ae0ac21191c57c7d6fac..9f6e2acaf5501848e48af72c6106447b21bfb3ce 100644 (file)
@@ -630,7 +630,7 @@ if (h || message_id)
     parse_allow_group = FALSE;
     while (*s != 0 && (s = parse_message_id(s, &id, &error)) != NULL)
       {
-      if (reference_count == sizeof(referenced_ids)/sizeof(uschar *))
+      if (reference_count == nelem(referenced_ids))
         {
         memmove(referenced_ids + 1, referenced_ids + 2,
            sizeof(referenced_ids) - 2*sizeof(uschar *));
@@ -694,7 +694,7 @@ if (return_message)
     :
     US"------ This is a copy of the message, including all the headers.\n";
   transport_ctx tctx = {
-    fileno(f),
+    {fileno(f)},
     tblock,
     addr,
     NULL, NULL,