From: Wilfried Goesgens Date: Mon, 7 May 2012 21:25:17 +0000 (+0200) Subject: SMTP-Client: on success strip reply too. X-Git-Tag: v8.11~29 X-Git-Url: https://code.citadel.org/?p=citadel.git;a=commitdiff_plain;h=1124723f232eebf1b5fbc139dee8b2e5d503d28d SMTP-Client: on success strip reply too. --- diff --git a/citadel/modules/smtp/smtp_clienthandlers.c b/citadel/modules/smtp/smtp_clienthandlers.c index 1d84fc059..e7ccae385 100644 --- a/citadel/modules/smtp/smtp_clienthandlers.c +++ b/citadel/modules/smtp/smtp_clienthandlers.c @@ -356,6 +356,7 @@ eNextState SMTPC_read_data_body_reply(SmtpOutMsg *Msg) StrBufPlain(Msg->MyQEntry->StatusMessage, &ChrPtr(Msg->IO.RecvBuf.Buf)[4], StrLength(Msg->IO.RecvBuf.Buf) - 4); + StrBufTrim(Msg->MyQEntry->StatusMessage); Msg->MyQEntry->Status = 2; return eSendReply; }