summaryrefslogtreecommitdiff
path: root/libexec/spamd/sdl.h
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2017-10-17 13:52:11 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2017-10-17 13:52:11 +0000
commit3b1ced155de1ca366fc93d0f8af6d4ce2ce4114e (patch)
treea037572d411493188802f990e5dde5befc683011 /libexec/spamd/sdl.h
parent380a65994d3e0248e147d0ef97c7e609d9152cca (diff)
Use a binary search to speed up blacklist lookups. OK phessler@
Diffstat (limited to 'libexec/spamd/sdl.h')
-rw-r--r--libexec/spamd/sdl.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/libexec/spamd/sdl.h b/libexec/spamd/sdl.h
index 86cd3887bbb..84b752453f7 100644
--- a/libexec/spamd/sdl.h
+++ b/libexec/spamd/sdl.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: sdl.h,v 1.7 2015/01/13 21:42:59 millert Exp $ */
+/* $OpenBSD: sdl.h,v 1.8 2017/10/17 13:52:10 millert Exp $ */
/*
* Copyright (c) 2003-2007 Bob Beck. All rights reserved.
@@ -62,6 +62,6 @@ struct sdlist {
int sdl_add(char *, char *, char **, u_int, char **, u_int);
void sdl_del(char *);
-struct sdlist **sdl_lookup(struct sdlist *head, int af, void * src);
+struct sdlist **sdl_lookup(struct sdlist *, int, void *);
#endif /* _SDL_H_ */