Commit 99ded560 authored by Max Kellermann's avatar Max Kellermann

command/error: remove db_domain from ToAck(Error)

parent 65386f52
......@@ -143,10 +143,6 @@ ToAck(const Error &error)
{
if (error.IsDomain(ack_domain)) {
return (enum ack)error.GetCode();
#ifdef ENABLE_DATABASE
} else if (error.IsDomain(db_domain)) {
return ToAck((DatabaseErrorCode)error.GetCode());
#endif
} else if (error.IsDomain(locate_uri_domain)) {
return ACK_ERROR_ARG;
} else if (error.IsDomain(errno_domain)) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment