diff options
author | Jeremy Harris <jgh146exb@wizmail.org> | 2015-11-06 15:55:25 +0000 |
---|---|---|
committer | Jeremy Harris <jgh146exb@wizmail.org> | 2015-11-06 16:43:16 +0000 |
commit | 6ff55e505e209073eacf1f1e49285464df70d6e3 (patch) | |
tree | 5716772c416108d56898e30edac21211ef4e20aa /src | |
parent | 858e91c21a3a14da760299b6d54676ac18526418 (diff) |
Transport: permit an empty string for the transport_filter option. Bug 1714
Diffstat (limited to 'src')
-rw-r--r-- | src/src/transport.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/src/transport.c b/src/src/transport.c index 62cbdc632..e77479b97 100644 --- a/src/src/transport.c +++ b/src/src/transport.c @@ -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); |