aboutsummaryrefslogtreecommitdiffstats
path: root/plugin.c
diff options
context:
space:
mode:
authorJohannes Berg <johannes@sipsolutions.net>2007-09-30 17:22:52 +0200
committerJohannes Berg <johannes@sipsolutions.net>2007-09-30 17:22:52 +0200
commit79a2ad5cb09df93f150c1afa231554eb9b37dc6b (patch)
tree2378740abafc2522c0af1ee0c62829ed9b29856a /plugin.c
parent0915399458764b625cdaa62c69db2d5fb339682a (diff)
downloaddovecot-antispam-79a2ad5cb09df93f150c1afa231554eb9b37dc6b.tar.gz
dovecot-antispam-79a2ad5cb09df93f150c1afa231554eb9b37dc6b.tar.xz
dovecot-antispam-79a2ad5cb09df93f150c1afa231554eb9b37dc6b.zip
don't use is_empty_str
Diffstat (limited to 'plugin.c')
-rw-r--r--plugin.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugin.c b/plugin.c
index 40c8ad8..b045220 100644
--- a/plugin.c
+++ b/plugin.c
@@ -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;
}