diff options
author | Johannes Berg <johannes@sipsolutions.net> | 2007-09-30 17:22:52 +0200 |
---|---|---|
committer | Johannes Berg <johannes@sipsolutions.net> | 2007-09-30 17:22:52 +0200 |
commit | 79a2ad5cb09df93f150c1afa231554eb9b37dc6b (patch) | |
tree | 2378740abafc2522c0af1ee0c62829ed9b29856a | |
parent | 0915399458764b625cdaa62c69db2d5fb339682a (diff) | |
download | dovecot-antispam-79a2ad5cb09df93f150c1afa231554eb9b37dc6b.tar.gz dovecot-antispam-79a2ad5cb09df93f150c1afa231554eb9b37dc6b.tar.xz dovecot-antispam-79a2ad5cb09df93f150c1afa231554eb9b37dc6b.zip |
don't use is_empty_str
Diffstat (limited to '')
-rw-r--r-- | plugin.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -134,7 +134,7 @@ static int fetch_and_copy(struct client *client, /* MODIFIED: keep track of mail as we copy */ #ifdef BACKEND_WANTS_SIGNATURE signature = mail_get_first_header(mail, signature_hdr); - if (is_empty_str(signature)) { + if (!signature || !signature[0]) { ret = SIGNATURE_MISSING; break; } |