Module: sip-router
Branch: master
Commit: d2c90c180690343df1c9baf1a2ab420db6047c6a
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=d2c90c1…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: Mon Apr 18 23:26:36 2011 +0200
domain(k): use server error code for RPC fault reply
---
modules_k/domain/domain_mod.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/modules_k/domain/domain_mod.c b/modules_k/domain/domain_mod.c
index d8ca4ce..555fd8e 100644
--- a/modules_k/domain/domain_mod.c
+++ b/modules_k/domain/domain_mod.c
@@ -284,7 +284,7 @@ static const char* domain_rpc_reload_doc[2] = {
static void domain_rpc_reload(rpc_t* rpc, void* ctx)
{
if (!db_mode) {
- rpc->fault(ctx, 200, "Server Domain Cache Disabled");
+ rpc->fault(ctx, 500, "Server Domain Cache Disabled");
return;
}