Module: kamailio
Branch: master
Commit: 77382a7ff2ee3144991b013e5cabd535028e3e1e
URL:
https://github.com/kamailio/kamailio/commit/77382a7ff2ee3144991b013e5cabd53…
Author: Seudin Kasumovic <seudin(a)bicomsystems.com>
Committer: Seudin Kasumovic <seudin.kasumovic(a)gmail.com>
Date: 2015-05-22T11:09:56+02:00
erlang: Fix error messages
Fix wrong function name in error messages.
---
Modified: modules/erlang/worker.c
---
Diff:
https://github.com/kamailio/kamailio/commit/77382a7ff2ee3144991b013e5cabd53…
Patch:
https://github.com/kamailio/kamailio/commit/77382a7ff2ee3144991b013e5cabd53…
---
diff --git a/modules/erlang/worker.c b/modules/erlang/worker.c
index 772dfda..b0fc38a 100644
--- a/modules/erlang/worker.c
+++ b/modules/erlang/worker.c
@@ -334,15 +334,15 @@ int worker_reg_send_impl(ei_cnode *ec, int s,int wpid)
{
if (erl_errno)
{
- LM_ERR("ei_rpc failed on node=<%s> socket=<%d>:
%s\n",enode->conn.nodename,enode->sockfd,strerror(erl_errno));
+ LM_ERR("ei_reg_send failed on node=<%s> socket=<%d>:
%s\n",enode->conn.nodename,enode->sockfd,strerror(erl_errno));
}
else if (errno)
{
- LM_ERR("ei_rpc failed on node=<%s> socket=<%d>:
%s\n",enode->conn.nodename,enode->sockfd,strerror(errno));
+ LM_ERR("ei_reg_send failed on node=<%s> socket=<%d>:
%s\n",enode->conn.nodename,enode->sockfd,strerror(errno));
}
else
{
- LM_ERR("ei_rpc failed on node=<%s> socket=<%d>, Unknown
error.\n",ec->thisalivename,enode->sockfd);
+ LM_ERR("ei_reg_send failed on node=<%s> socket=<%d>, Unknown
error.\n",ec->thisalivename,enode->sockfd);
}
}