summaryrefslogtreecommitdiff
path: root/libexec/spamd
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2003-06-11 14:24:47 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2003-06-11 14:24:47 +0000
commit579cc9afe6bf63e0465ab9244e2b7ed4efe8bf5f (patch)
tree20a5aac577cdd345c4deac7a5ec6871693443023 /libexec/spamd
parent8474a82cc2503c3f1b7ae33f389cba12b58cd8b8 (diff)
ansi cleanup; ok ian markus
Diffstat (limited to 'libexec/spamd')
-rw-r--r--libexec/spamd/spamd.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libexec/spamd/spamd.c b/libexec/spamd/spamd.c
index 0fcf1d94643..fa7b5606ef3 100644
--- a/libexec/spamd/spamd.c
+++ b/libexec/spamd/spamd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: spamd.c,v 1.34 2003/05/17 02:41:19 beck Exp $ */
+/* $OpenBSD: spamd.c,v 1.35 2003/06/11 14:24:46 deraadt Exp $ */
/*
* Copyright (c) 2002 Theo de Raadt. All rights reserved.
@@ -90,7 +90,7 @@ char *doreply(struct con *);
void setlog(char *, size_t, char *);
void initcon(struct con *, int, struct sockaddr_in *);
void closecon(struct con *);
-int match(char *, char *);
+int match(const char *, const char *);
void nextstate(struct con *);
void handler(struct con *);
void handlew(struct con *, int one);
@@ -551,7 +551,7 @@ closecon(struct con *cp)
}
int
-match(char *s1, char *s2)
+match(const char *s1, const char *s2)
{
return (strncasecmp(s1, s2, strlen(s2)) == 0);
}