git://git.exim.org
/
exim.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add dynamic lookup support
[exim.git]
/
src
/
src
/
verify.c
diff --git
a/src/src/verify.c
b/src/src/verify.c
index ab7e2756fae0dd825a3e8ffd76322cd7bdbca3cf..1ead3021671dbfe649158351e19c2143b15f2358 100644
(file)
--- a/
src/src/verify.c
+++ b/
src/src/verify.c
@@
-1,10
+1,10
@@
-/* $Cambridge: exim/src/src/verify.c,v 1.5
2 2008/09/29 11:41:07 nm4
Exp $ */
+/* $Cambridge: exim/src/src/verify.c,v 1.5
5 2010/06/05 23:50:18 pdp
Exp $ */
/*************************************************
* Exim - an Internet mail transport agent *
*************************************************/
/*************************************************
* Exim - an Internet mail transport agent *
*************************************************/
-/* Copyright (c) University of Cambridge 1995 - 200
7
*/
+/* Copyright (c) University of Cambridge 1995 - 200
9
*/
/* See the file NOTICE for conditions of use and distribution. */
/* Functions concerned with verifying things. The original code for callout
/* See the file NOTICE for conditions of use and distribution. */
/* Functions concerned with verifying things. The original code for callout
@@
-893,7
+893,7
@@
va_start(ap, format);
if (smtp_out && (f == smtp_out))
smtp_vprintf(format, ap);
else
if (smtp_out && (f == smtp_out))
smtp_vprintf(format, ap);
else
- fprintf(f, format, ap);
+
v
fprintf(f, format, ap);
va_end(ap);
}
va_end(ap);
}
@@
-2256,7
+2256,7
@@
if (iplookup)
}
else /* Single-key style */
{
}
else /* Single-key style */
{
- int sep = (Ustrcmp(lookup_list[search_type]
.
name, "iplsearch") == 0)?
+ int sep = (Ustrcmp(lookup_list[search_type]
->
name, "iplsearch") == 0)?
':' : '.';
insize = host_aton(cb->host_address, incoming);
host_mask(insize, incoming, mlen);
':' : '.';
insize = host_aton(cb->host_address, incoming);
host_mask(insize, incoming, mlen);
@@
-2513,16
+2513,18
@@
return verify_check_this_host(listptr, sender_host_cache, NULL,
/*************************************************
/*************************************************
-*
Invert an IP address for a DNS black list
*
+*
Invert an IP address
*
*************************************************/
*************************************************/
-/*
+/* Originally just used for DNS xBL lists, now also used for the
+reverse_ip expansion operator.
+
Arguments:
buffer where to put the answer
address the address to invert
*/
Arguments:
buffer where to put the answer
address the address to invert
*/
-
static
void
+void
invert_address(uschar *buffer, uschar *address)
{
int bin[4];
invert_address(uschar *buffer, uschar *address)
{
int bin[4];