Module: sip-router
Branch: master
Commit: 2e51695a7e26ad0e2dabd6dc44787b41862164fc
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=2e51695…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: Tue Jun 9 18:34:35 2009 +0300
xcap_client: proper return code in child init function when all is ok
- introduced by previous commit, reported by Pascal Maugeri
---
modules_k/xcap_client/xcap_client.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/modules_k/xcap_client/xcap_client.c b/modules_k/xcap_client/xcap_client.c
index 55084d8..dab7ef3 100644
--- a/modules_k/xcap_client/xcap_client.c
+++ b/modules_k/xcap_client/xcap_client.c
@@ -174,7 +174,7 @@ static int child_init(int rank)
LM_ERR("cannot connect to db\n");
return -1;
}
- return -1;
+ return 0;
}
void destroy(void)