mirror of
https://github.com/mjl-/mox.git
synced 2025-07-10 07:54:40 +03:00
small fixes
a typo, using ongoing tx instead of making a new one, don't pass literal string to formatting function. found while working on quota support.
This commit is contained in:
@ -1150,7 +1150,7 @@ func xcheckmailboxname(name string, allowInbox bool) string {
|
||||
if isinbox {
|
||||
xuserErrorf("special mailboxname Inbox not allowed")
|
||||
} else if err != nil {
|
||||
xusercodeErrorf("CANNOT", err.Error())
|
||||
xusercodeErrorf("CANNOT", "%s", err)
|
||||
}
|
||||
return name
|
||||
}
|
||||
|
Reference in New Issue
Block a user