aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohannes Berg <johannes@sipsolutions.net>2009-09-30 16:35:02 +0200
committerJohannes Berg <johannes@sipsolutions.net>2009-09-30 16:35:02 +0200
commit1e33710fe67026f5e2c889020ce8549badf5aa8c (patch)
tree0dc19fcf66d9206c91c20c9c4c5209fcdda5775b
parentde81095186abe74288c39dda932ccb71866ee847 (diff)
downloaddovecot-antispam-1e33710fe67026f5e2c889020ce8549badf5aa8c.tar.gz
dovecot-antispam-1e33710fe67026f5e2c889020ce8549badf5aa8c.tar.xz
dovecot-antispam-1e33710fe67026f5e2c889020ce8549badf5aa8c.zip
make variable const
(part of a patch from Andreas Schneider)
-rw-r--r--dovecot-version.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/dovecot-version.c b/dovecot-version.c
index fbd1f89..7733e60 100644
--- a/dovecot-version.c
+++ b/dovecot-version.c
@@ -5,7 +5,8 @@
int main(int argc, char **argv)
{
- char *v = PACKAGE_STRING, *e;
+ const char *v = PACKAGE_STRING;
+ char *e;
int maj = 0, min = 0, patch = 0;
if (strncmp(v, "dovecot ", 8) && strncmp(v, "Dovecot ", 8))