projects
/
citadel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
SMTP-Client: on success strip reply too.
[citadel.git]
/
citadel
/
modules
/
smtp
/
smtp_clienthandlers.c
diff --git
a/citadel/modules/smtp/smtp_clienthandlers.c
b/citadel/modules/smtp/smtp_clienthandlers.c
index 1d84fc059560e8de8805b6e5dc5000a1d3ac81b4..e7ccae385bf33a4acef572684847d623b9eec916 100644
(file)
--- 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;
}