summaryrefslogtreecommitdiff
path: root/src/recipients.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/recipients.c')
-rw-r--r--src/recipients.c28
1 files changed, 14 insertions, 14 deletions
diff --git a/src/recipients.c b/src/recipients.c
index bf70fd7..3d883e2 100644
--- a/src/recipients.c
+++ b/src/recipients.c
@@ -33,19 +33,20 @@ static int flagrcpts = 0;
static int fdrcps;
static struct cdb cdb;
-/** @file recipients.c
- @brief functions recipients_init, recipients, recipients_parse, callapam
- @param pointer to address, length of address
- @return -3: problem with PAM
- -2: out of memory
- -1: error reading control file
- 0: address not found; unsuccessful
- 1: CDB lookup; successful
- 2: PAM lookup; successful
- 3: USERS lookup; successful
- 4: Wildcarded domain; successful
- 5: Pass-thru; neutral
- 10: none existing control file; pass-thru
+/**
+ @file recipients.c
+ @brief functions recipients_init, recipients, recipients_parse, callapam
+ @param pointer to address, length of address
+ @return -3: problem with PAM
+ -2: out of memory
+ -1: error reading control file
+ 0: address not found; unsuccessful
+ 1: CDB lookup; successful
+ 2: PAM lookup; successful
+ 3: USERS lookup; successful
+ 4: Wildcarded domain; successful
+ 5: Pass-thru; neutral
+ 10: none existing control file; pass-thru
*/
int recipients_init()
@@ -279,7 +280,6 @@ int recipients(char *buf, int len)
if (!stralloc_0(&ukey)) return -2; /* \0 terminated */
case_lowerb(ukey.s, ukey.len);
-
for (i = 0; i < at; i++) { /* VERP addresses */
if (buf[i] == *auto_break || buf[i] == '=' || buf[i] == '+') { /* SRS delimiter */
if (!stralloc_copyb(&verp, buf, i + 1)) return -2;