projects
/
exim.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge remote-tracking branch 'github/pr/34'
[exim.git]
/
src
/
src
/
lss.c
diff --git
a/src/src/lss.c
b/src/src/lss.c
index ae0e3c5748c5f688db335e23d840933490f3101d..62b0a35f108af7d024a97b63842a08ed32cf59bc 100644
(file)
--- a/
src/src/lss.c
+++ b/
src/src/lss.c
@@
-1,10
+1,8
@@
-/* $Cambridge: exim/src/src/lss.c,v 1.3 2006/02/07 11:19:00 ph10 Exp $ */
-
/*************************************************
* Exim - an Internet mail transport agent *
*************************************************/
/*************************************************
* Exim - an Internet mail transport agent *
*************************************************/
-/* Copyright (c) University of Cambridge 1995 - 20
06
*/
+/* Copyright (c) University of Cambridge 1995 - 20
15
*/
/* See the file NOTICE for conditions of use and distribution. */
/* Support functions for calling from local_scan(). These are mostly just
/* See the file NOTICE for conditions of use and distribution. */
/* Support functions for calling from local_scan(). These are mostly just
@@
-29,7
+27,7
@@
Returns: OK/FAIL/DEFER
int
lss_match_domain(uschar *domain, uschar *list)
{
int
lss_match_domain(uschar *domain, uschar *list)
{
-return match_isinlist(
domain,
&list, 0, &domainlist_anchor, NULL, MCL_DOMAIN,
+return match_isinlist(
CUS domain, CUSS
&list, 0, &domainlist_anchor, NULL, MCL_DOMAIN,
TRUE, NULL);
}
TRUE, NULL);
}
@@
-51,7
+49,7
@@
Returns: OK/FAIL/DEFER
int
lss_match_local_part(uschar *local_part, uschar *list, BOOL caseless)
{
int
lss_match_local_part(uschar *local_part, uschar *list, BOOL caseless)
{
-return match_isinlist(
local_part,
&list, 0, &localpartlist_anchor, NULL,
+return match_isinlist(
CUS local_part, CUSS
&list, 0, &localpartlist_anchor, NULL,
MCL_LOCALPART, caseless, NULL);
}
MCL_LOCALPART, caseless, NULL);
}
@@
-73,7
+71,7
@@
Returns: OK/FAIL/DEFER
int
lss_match_address(uschar *address, uschar *list, BOOL caseless)
{
int
lss_match_address(uschar *address, uschar *list, BOOL caseless)
{
-return match_address_list(
address, caseless, TRUE,
&list, NULL, -1, 0, NULL);
+return match_address_list(
CUS address, caseless, TRUE, CUSS
&list, NULL, -1, 0, NULL);
}
}
@@
-97,7
+95,7
@@
Returns: OK/FAIL/DEFER
int
lss_match_host(uschar *host_name, uschar *host_address, uschar *list)
{
int
lss_match_host(uschar *host_name, uschar *host_address, uschar *list)
{
-return verify_check_this_host(&list, NULL, host_name, host_address, NULL);
+return verify_check_this_host(
CUSS
&list, NULL, host_name, host_address, NULL);
}
}