[sr-dev] git:master:0ff8ab02: lib: add missing line-break in DB init function error log

Henning Westerholt hw at skalatan.de
Sun Jun 30 17:49:55 CEST 2019


Module: kamailio
Branch: master
Commit: 0ff8ab02704f7c096464d49a9f697ebeaf99935e
URL: https://github.com/kamailio/kamailio/commit/0ff8ab02704f7c096464d49a9f697ebeaf99935e

Author: Henning Westerholt <hw at skalatan.de>
Committer: Henning Westerholt <hw at skalatan.de>
Date: 2019-06-30T17:49:25+02:00

lib: add missing line-break in DB init function error log

---

Modified: src/lib/srdb1/db.c

---

Diff:  https://github.com/kamailio/kamailio/commit/0ff8ab02704f7c096464d49a9f697ebeaf99935e.diff
Patch: https://github.com/kamailio/kamailio/commit/0ff8ab02704f7c096464d49a9f697ebeaf99935e.patch

---

diff --git a/src/lib/srdb1/db.c b/src/lib/srdb1/db.c
index 5d8e83d4ed..d33c9390c8 100644
--- a/src/lib/srdb1/db.c
+++ b/src/lib/srdb1/db.c
@@ -316,7 +316,7 @@ db1_con_t* db_do_init2(const str* url, void* (*new_connection)(), db_pooling_t p
 		/* Not in the pool yet */
 		con = new_connection(id);
 		if (!con) {
-			LM_ERR("could not add connection to the pool");
+			LM_ERR("could not add connection to the pool\n");
 			goto err;
 		}
 		pool_insert((struct pool_con*)con);




More information about the sr-dev mailing list