wip
[users/heiko/exim.git] / src / src / transports / autoreply.c
index 2b487b435a62b66f1f61701bf775f42e44a9520f..ce7f7e1e2a42e2d628c4541a990b796b7fb49b67 100644 (file)
@@ -3,6 +3,7 @@
 *************************************************/
 
 /* Copyright (c) University of Cambridge 1995 - 2018 */
+/* Copyright (c) The Exim Maintainers 2020 */
 /* See the file NOTICE for conditions of use and distribution. */
 
 
@@ -202,7 +203,7 @@ while (*s != 0)
   /* If there is some kind of syntax error, just give up on this header
   line. */
 
-  if (next == NULL) break;
+  if (!next) break;
 
   /* See if the address is on the never_mail list */
 
@@ -476,6 +477,7 @@ if (oncelog && *oncelog && to)
     uschar * dirname = string_copy(oncelog);
     uschar * s;
 
+debug_printf("%s %d: oncelog '%s'\n", __FUNCTION__, __LINE__, oncelog);
     if ((s = Ustrrchr(dirname, '/'))) *s = '\0';
     EXIM_DBOPEN(oncelog, dirname, O_RDWR|O_CREAT, ob->mode, &dbm_file);
     if (!dbm_file)