X-Git-Url: https://code.citadel.org/?p=citadel.git;a=blobdiff_plain;f=citadel%2Fmodules%2Fsmtp%2Fsmtp_clienthandlers.c;fp=citadel%2Fmodules%2Fsmtp%2Fsmtp_clienthandlers.c;h=e7ccae385bf33a4acef572684847d623b9eec916;hp=1d84fc059560e8de8805b6e5dc5000a1d3ac81b4;hb=1124723f232eebf1b5fbc139dee8b2e5d503d28d;hpb=4c6b9464ce712afd633ec317f501e5a6fd12a6a3 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; }