command/error: remove db_domain from ToAck(Error)
This commit is contained in:
parent
65386f52f0
commit
99ded56047
@ -143,10 +143,6 @@ ToAck(const Error &error)
|
|||||||
{
|
{
|
||||||
if (error.IsDomain(ack_domain)) {
|
if (error.IsDomain(ack_domain)) {
|
||||||
return (enum ack)error.GetCode();
|
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)) {
|
} else if (error.IsDomain(locate_uri_domain)) {
|
||||||
return ACK_ERROR_ARG;
|
return ACK_ERROR_ARG;
|
||||||
} else if (error.IsDomain(errno_domain)) {
|
} else if (error.IsDomain(errno_domain)) {
|
||||||
|
Loading…
Reference in New Issue
Block a user