summaryrefslogtreecommitdiff
path: root/src/depot.cc
diff options
context:
space:
mode:
authorJannis M. Hoffmann <jannis@fehcom.de>2023-10-07 23:30:49 +0200
committerJannis M. Hoffmann <jannis@fehcom.de>2023-10-08 11:35:51 +0200
commit40ee1fcfb77731f3cd7385882f41630af6aedb33 (patch)
tree6b13dd75ca9cfbac7daef4f0d5dc2e342ee9ef7d /src/depot.cc
parent1978c49bea5b439d993067c055cec47e70db8fd6 (diff)
reduce line limit to 95
Diffstat (limited to 'src/depot.cc')
-rw-r--r--src/depot.cc10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/depot.cc b/src/depot.cc
index 86ac5f4..629bda9 100644
--- a/src/depot.cc
+++ b/src/depot.cc
@@ -226,8 +226,8 @@ bool Depot::renameMailbox(const string &s_in, const string &t_in) const
}
if (rename(sourcename.c_str(), destname.c_str()) != 0) {
- bincWarning << "error renaming " << sourcename << " to " << destname << ": " << strerror(errno)
- << endl;
+ bincWarning << "error renaming " << sourcename << " to " << destname << ": "
+ << strerror(errno) << endl;
} else {
nrenamed++;
}
@@ -241,7 +241,8 @@ bool Depot::renameMailbox(const string &s_in, const string &t_in) const
}
if (nrenamed == 0) {
- setLastError("An error occurred when renaming " + toImapString(s_in) + " to " + toImapString(t_in)
+ setLastError("An error occurred when renaming " + toImapString(s_in) + " to "
+ + toImapString(t_in)
+ ". Try creating a new mailbox,"
" then copy over all messages."
" Finally, delete the original mailbox");
@@ -370,7 +371,8 @@ bool Depot::saveSubscribes(void) const
}
if (rename(ftemplate.c_str(), ".subscribed") != 0) {
- bincWarning << "failed to rename " << ftemplate << " to .subscribed: " << strerror(errno) << endl;
+ bincWarning << "failed to rename " << ftemplate << " to .subscribed: " << strerror(errno)
+ << endl;
return false;
}