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
Rename substructure for ease of debugging
[exim.git]
/
src
/
src
/
routers
/
iplookup.c
diff --git
a/src/src/routers/iplookup.c
b/src/src/routers/iplookup.c
index 37280078369af0c2c7cc1b1e5bf3814a43cdecef..33329f887ec1ac1b3aeeb74fd88abe1c312de8c8 100644
(file)
--- a/
src/src/routers/iplookup.c
+++ b/
src/src/routers/iplookup.c
@@
-143,7
+143,8
@@
iplookup_router_entry(
{
uschar *query = NULL;
uschar *reply;
{
uschar *query = NULL;
uschar *reply;
-uschar *hostname, *reroute, *domain, *listptr;
+uschar *hostname, *reroute, *domain;
+const uschar *listptr;
uschar host_buffer[256];
host_item *host = store_get(sizeof(host_item));
address_item *new_addr;
uschar host_buffer[256];
host_item *host = store_get(sizeof(host_item));
address_item *new_addr;
@@
-376,7
+377,7
@@
new_addr = deliver_make_addr(reroute, TRUE);
new_addr->parent = addr;
copyflag(new_addr, addr, af_propagate);
new_addr->parent = addr;
copyflag(new_addr, addr, af_propagate);
-new_addr->p
= addr->
p;
+new_addr->p
rop = addr->pro
p;
if (addr->child_count == SHRT_MAX)
log_write(0, LOG_MAIN|LOG_PANIC_DIE, "%s router generated more than %d "
if (addr->child_count == SHRT_MAX)
log_write(0, LOG_MAIN|LOG_PANIC_DIE, "%s router generated more than %d "
@@
-388,11
+389,11
@@
new_addr->next = *addr_new;
/* Set up the errors address, if any, and the additional and removeable headers
for this new address. */
/* Set up the errors address, if any, and the additional and removeable headers
for this new address. */
-rc = rf_get_errors_address(addr, rblock, verify, &
(new_addr->p.errors_address)
);
+rc = rf_get_errors_address(addr, rblock, verify, &
new_addr->prop.errors_address
);
if (rc != OK) return rc;
if (rc != OK) return rc;
-rc = rf_get_munge_headers(addr, rblock, &
(new_addr->p.extra_headers)
,
- &
(new_addr->p.remove_headers)
);
+rc = rf_get_munge_headers(addr, rblock, &
new_addr->prop.extra_headers
,
+ &
new_addr->prop.remove_headers
);
if (rc != OK) return rc;
return OK;
if (rc != OK) return rc;
return OK;