[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openser-devel
Subject:    [sr-dev] git:master:0ff8ab02: lib: add missing line-break in DB init function error log
From:       Henning Westerholt <hw () skalatan ! de>
Date:       2019-06-30 15:49:55
Message-ID: E1hhc5T-0003Rj-3g () www ! kamailio ! org
[Download RAW message or body]

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

Author: Henning Westerholt <hw@skalatan.de>
Committer: Henning Westerholt <hw@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);


_______________________________________________
Kamailio (SER) - Development Mailing List
sr-dev@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic