X-Git-Url: https://git.exim.org/exim.git/blobdiff_plain/fa41615da7020d4d951ed3a0b98464bed66ff58b..6ff55e505e209073eacf1f1e49285464df70d6e3:/src/src/transport.c?ds=sidebyside diff --git a/src/src/transport.c b/src/src/transport.c index c258bfd9d..e77479b97 100644 --- a/src/src/transport.c +++ b/src/src/transport.c @@ -1068,7 +1068,7 @@ if (dkim_private_key && dkim_domain && dkim_selector) uschar *dkim_strict_result = expand_string(dkim_strict); if (dkim_strict_result) if ( (strcmpic(dkim_strict,US"1") == 0) || - (strcmpic(dkim_strict,US"true") == 0) ) + (strcmpic(dkim_strict,US"true") == 0) ) { /* Set errno to something halfway meaningful */ save_errno = EACCES; @@ -1213,7 +1213,10 @@ transport_filter_timed_out = FALSE; /* If there is no filter command set up, call the internal function that does the actual work, passing it the incoming fd, and return its result. */ -if (transport_filter_argv == NULL) +if ( !transport_filter_argv + || !*transport_filter_argv + || !**transport_filter_argv + ) return internal_transport_write_message(addr, fd, options, size_limit, add_headers, remove_headers, check_string, escape_string, rewrite_rules, rewrite_existflags); @@ -1855,7 +1858,7 @@ test but the code should work */ if (!bContinuation) { - Ustrcpy (new_message_id, message_id); + Ustrcpy (new_message_id, message_id); dbfn_close(dbm_file); return FALSE; }