X-Git-Url: https://code.citadel.org/?a=blobdiff_plain;f=webcit%2Fmessages.c;h=5dcc5c9d3d02ece4944d3720842ebd6c7ffa8538;hb=e8f818c479ed12ffa571fd875ee44520c9042f44;hp=93107db0c5b074410bf2660f2e4a8afcadab3a51;hpb=8b5655da6d2468f7804af5b7aca0b08102627e56;p=citadel.git
diff --git a/webcit/messages.c b/webcit/messages.c
index 93107db0c..5dcc5c9d3 100644
--- a/webcit/messages.c
+++ b/webcit/messages.c
@@ -1307,7 +1307,6 @@ void display_enter(void)
const StrBuf *display_name = NULL;
int recipient_required = 0;
int subject_required = 0;
- int recipient_bad = 0;
int is_anonymous = 0;
wcsession *WCC = WC;
int i = 0;
@@ -1595,20 +1594,14 @@ void display_enter(void)
rc = GetServerStatusMsg(CmdBuf, &Result, 0, 0);
if ( (Result == 570) /* invalid or missing recipient(s) */
- || (Result == 550) /* access control problem */
+ || (Result == 550) /* higher access required to send Internet mail */
) {
- if ( havebstr("recp")
- && havebstr("cc")
- && havebstr("bcc")
- ) {
- recipient_bad = 1; /* FIXME ... do something with this? */
- }
+ /* These errors will have been displayed and are excusable */
}
else if (rc != 2) { /* Any other error means that we cannot continue */
-
- /* FIXME IMMEDIATELY this code results in a blank screen!!! */
- wc_printf("%s
\n", ChrPtr(CmdBuf) +4);
+ AppendImportantMessage(ChrPtr(CmdBuf) + 4, StrLength(CmdBuf) - 4);
FreeStrBuf(&CmdBuf);
+ readloop(readnew, eUseDefault);
return;
}
FreeStrBuf(&CmdBuf);