diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 2017-10-17 13:52:11 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 2017-10-17 13:52:11 +0000 |
commit | 3b1ced155de1ca366fc93d0f8af6d4ce2ce4114e (patch) | |
tree | a037572d411493188802f990e5dde5befc683011 /libexec/spamd/sdl.h | |
parent | 380a65994d3e0248e147d0ef97c7e609d9152cca (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.h | 4 |
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_ */ |