aboutsummaryrefslogtreecommitdiffstats
path: root/dovecot-version.c
diff options
context:
space:
mode:
authorJonas Maurus <jonas@maurus.net>2009-04-29 13:13:53 +0200
committerJohannes Berg <johannes@sipsolutions.net>2009-04-29 13:13:53 +0200
commit443004a02c6707e660a82ab85f3161b692b05fe0 (patch)
tree45e8ac07958978a25b5e5ef53f3f0b1f8410840d /dovecot-version.c
parent6538e2b6b0007a281be3498bc16b89aaa14337ef (diff)
downloaddovecot-antispam-443004a02c6707e660a82ab85f3161b692b05fe0.tar.gz
dovecot-antispam-443004a02c6707e660a82ab85f3161b692b05fe0.tar.xz
dovecot-antispam-443004a02c6707e660a82ab85f3161b692b05fe0.zip
add dovecot 1.2 support
Diffstat (limited to '')
-rw-r--r--dovecot-version.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dovecot-version.c b/dovecot-version.c
index 82772a9..fbb7a88 100644
--- a/dovecot-version.c
+++ b/dovecot-version.c
@@ -8,7 +8,7 @@ int main(int argc, char **argv)
char *v = PACKAGE_STRING, *e;
int maj = 0, min = 0;
- if (strncmp(v, "dovecot ", 8))
+ if (strncmp(v, "dovecot ", 8) && strncmp(v, "Dovecot ", 8))
return 1;
/* skip "dovecot " */