diff options
Diffstat (limited to 'src/depot.cc')
-rw-r--r-- | src/depot.cc | 10 |
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; } |