summaryrefslogtreecommitdiff
path: root/src/recipients.c
diff options
context:
space:
mode:
authorJannis Hoffmann <jannis@fehcom.de>2024-07-03 19:03:11 +0200
committerJannis Hoffmann <jannis@fehcom.de>2024-07-03 19:03:11 +0200
commit20b85c03e751b4876fa3c92040464e483172b746 (patch)
tree734fadbfdbc143ec4465093857f4c239448715e0 /src/recipients.c
parenta6a7d6ce079cabdaf2fa502b2e2cf15e5428ac6f (diff)
manual format adjustment
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;