X-Git-Url: https://git.exim.org/exim.git/blobdiff_plain/ac0cac6839368273e14e574ca5b9f817edcd6208..fc4a7f705d4c5911220cf9dbb0995d9f5dbabf02:/src/src/transport.c 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; }