From 40ee1fcfb77731f3cd7385882f41630af6aedb33 Mon Sep 17 00:00:00 2001 From: "Jannis M. Hoffmann" Date: Sat, 7 Oct 2023 23:30:49 +0200 Subject: reduce line limit to 95 --- src/depot.cc | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'src/depot.cc') 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; } -- cgit v1.2.3