From 59eabf194b3184643288b35848c9d48c96f5d911 Mon Sep 17 00:00:00 2001 From: Janos SUTO Date: Sun, 13 May 2018 14:59:59 +0200 Subject: [PATCH] fixed typo in setting session fd Signed-off-by: Janos SUTO --- src/bdat.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bdat.c b/src/bdat.c index b74c5474..85472074 100644 --- a/src/bdat.c +++ b/src/bdat.c @@ -87,7 +87,7 @@ void process_bdat(struct smtp_session *session, char *readbuf, int readlen, stru close(session->fd); unlink(session->ttmpfile); - session->fd = 1; + session->fd = -1; }