summaryrefslogtreecommitdiff
path: root/common/smtppass.h
diff options
context:
space:
mode:
authorStef Walter <stef@memberwebs.com>2005-03-12 05:10:24 +0000
committerStef Walter <stef@memberwebs.com>2005-03-12 05:10:24 +0000
commitaa8dd5d2add8f620b86ea8e05a6cc01bee5bc32d (patch)
tree728e6aece89affa290de6797cb6d46b21816084e /common/smtppass.h
parent06196fa324bb5fa6afcac3ff701c7a8d8ca17544 (diff)
Accept special formatting arguments in the Header line.
Diffstat (limited to 'common/smtppass.h')
-rw-r--r--common/smtppass.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/common/smtppass.h b/common/smtppass.h
index 5522ca9..9dbe935 100644
--- a/common/smtppass.h
+++ b/common/smtppass.h
@@ -68,6 +68,7 @@ typedef struct spio
const char* name; /* The name for logging */
time_t last_action; /* Time of last action on descriptor */
char peername[MAXPATHLEN]; /* Name of the peer on other side of socket */
+ char localname[MAXPATHLEN]; /* Address where we accepted the connection */
/* Internal use only */
char line[SP_LINE_LENGTH];
@@ -210,10 +211,9 @@ int sp_cache_data(spctx_t* ctx);
/*
* Sends the data in file buffer off to server. This is
- * completes a successful mail transfer. The optional header
- * is appended to the end of the email headers.
+ * completes a successful mail transfer.
*/
-int sp_done_data(spctx_t* ctx, const char* header);
+int sp_done_data(spctx_t* ctx);
/*
* Fails the data, deletes any temp data, and sends given