aboutsummaryrefslogtreecommitdiffstats
path: root/driver.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>1996-11-20 02:04:54 +0000
committerEric S. Raymond <esr@thyrsus.com>1996-11-20 02:04:54 +0000
commitc7b25361c4990bf1a9bafd52e2ece4008f958819 (patch)
tree8cca550a893506f98e99b6211a7069b5bbbde56b /driver.c
parent39ced7e9afccbff096a1a3ec737cc8246164194a (diff)
downloadfetchmail-c7b25361c4990bf1a9bafd52e2ece4008f958819.tar.gz
fetchmail-c7b25361c4990bf1a9bafd52e2ece4008f958819.tar.bz2
fetchmail-c7b25361c4990bf1a9bafd52e2ece4008f958819.zip
Corrected received_for handling.
svn path=/trunk/; revision=562
Diffstat (limited to 'driver.c')
-rw-r--r--driver.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/driver.c b/driver.c
index 71e91928..bdf033f0 100644
--- a/driver.c
+++ b/driver.c
@@ -182,7 +182,7 @@ static int is_host_alias(const char *name, struct query *ctl)
void find_server_names(hdr, ctl, xmit_names)
/* parse names out of a RFC822 header into an ID list */
const char *hdr; /* RFC822 header in question */
-struct query *ctl; /* list of permissible aliases */
+struct query *ctl; /* list of permissible aliases */
struct idlist **xmit_names; /* list of recipient names parsed out */
{
if (hdr == (char *)NULL)
@@ -419,7 +419,7 @@ struct query *ctl; /* query control record */
* It has to be a mailserver address, or we
* wouldn't have got here.
*/
- save_uid(&xmit_names, -1, received_for);
+ find_server_names(received_for, ctl, &xmit_names);
else
{
/*