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

Author: Henning Westerholt <[email protected]>
Committer: Henning Westerholt <[email protected]>
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
[email protected]
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev

Reply via email to