From aa8dd5d2add8f620b86ea8e05a6cc01bee5bc32d Mon Sep 17 00:00:00 2001 From: Stef Walter Date: Sat, 12 Mar 2005 05:10:24 +0000 Subject: Accept special formatting arguments in the Header line. --- common/smtppass.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'common/smtppass.h') 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 -- cgit v1.2.3