[sr-dev] git:master:84d75d43: evapi fix some minor typos in debug/error messages

Olle E. Johansson oej at edvina.net
Tue Oct 20 20:52:32 CEST 2015


Module: kamailio
Branch: master
Commit: 84d75d43c17b4773bb15a80c1a1f33a47424d858
URL: https://github.com/kamailio/kamailio/commit/84d75d43c17b4773bb15a80c1a1f33a47424d858

Author: Olle E. Johansson <oej at edvina.net>
Committer: Olle E. Johansson <oej at edvina.net>
Date: 2015-10-20T20:52:10+02:00

evapi fix some minor typos in debug/error messages

---

Modified: modules/evapi/evapi_mod.c

---

Diff:  https://github.com/kamailio/kamailio/commit/84d75d43c17b4773bb15a80c1a1f33a47424d858.diff
Patch: https://github.com/kamailio/kamailio/commit/84d75d43c17b4773bb15a80c1a1f33a47424d858.patch

---

diff --git a/modules/evapi/evapi_mod.c b/modules/evapi/evapi_mod.c
index eeafc21..146c9d2 100644
--- a/modules/evapi/evapi_mod.c
+++ b/modules/evapi/evapi_mod.c
@@ -114,12 +114,12 @@ static int mod_init(void)
 
 	/* init faked sip msg */
 	if(faked_msg_init()<0) {
-		LM_ERR("failed to init faked sip msg\n");
+		LM_ERR("failed to init faked sip message\n");
 		return -1;
 	}
 
 	if(load_tm_api( &tmb ) < 0) {
-		LM_INFO("cannot load the TM-functions - async relay disabled\n");
+		LM_INFO("cannot load the TM module functions - async relay disabled\n");
 		memset(&tmb, 0, sizeof(tm_api_t));
 	}
 
@@ -180,7 +180,7 @@ static int child_init(int rank)
 		/* main function for dispatcher */
 		evapi_close_notify_sockets_child();
 		if(evapi_run_dispatcher(_evapi_bind_addr, _evapi_bind_port)<0) {
-			LM_ERR("failed to initialize disptacher process\n");
+			LM_ERR("failed to initialize evapi dispatcher process\n");
 			return -1;
 		}
 	}
@@ -276,7 +276,7 @@ static int w_evapi_async_relay(sip_msg_t *msg, char *evdata, char *p2)
 	}
 	if(tmb.t_suspend(msg, &tindex, &tlabel)<0)
 	{
-		LM_ERR("failed to suppend request processing\n");
+		LM_ERR("failed to suspend request processing\n");
 		return -1;
 	}
 




More information about the sr-dev mailing list