Make the folder assurance read-only.

Patch by Szokovacs Robert <szo at szo dot hu>, thanks!
BUG: 144035

Cherry-picked from: 243dfe72a65603f6fdc36b78585cb21125e88c7d

Signed-off-by: Luke Dashjr <luke-jr+git@utopios.org>
pull/29/head
Thomas McGuire 16 years ago committed by Michele Calgaro
parent 095bc95d31
commit c467da6399
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -1553,7 +1553,7 @@ IMAP4Protocol::specialSearchCommand( TQDataStream& stream )
stream >> _url;
TQString aBox, aSequence, aLType, aSection, aValidity, aDelimiter, aInfo;
parseURL (_url, aBox, aSection, aLType, aSequence, aValidity, aDelimiter, aInfo);
if (!assureBox(aBox, false)) return;
if (!assureBox(aBox, true)) return;
imapCommand *cmd = doCommand (imapCommand::clientSearch( aSection ));
if (cmd->result () != "OK")

Loading…
Cancel
Save