Module: sip-router Branch: janakj/postgres Commit: 1e9289283b15e98f4e193b33985cf5460589c95b URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=1e928928...
Author: Henning Westerholt henning.westerholt@1und1.de Committer: Henning Westerholt henning.westerholt@1und1.de Date: Fri May 9 15:50:17 2008 +0000
- add a few missing '\n' to log messages
git-svn-id: https://openser.svn.sourceforge.net/svnroot/openser/trunk@4149 689a6050-402a-0410-94f2-e92a70836424
---
modules/db_postgres/km_res.c | 16 ++++++++-------- 1 files changed, 8 insertions(+), 8 deletions(-)
diff --git a/modules/db_postgres/km_res.c b/modules/db_postgres/km_res.c index e725063..5f5340c 100644 --- a/modules/db_postgres/km_res.c +++ b/modules/db_postgres/km_res.c @@ -103,7 +103,7 @@ int db_postgres_get_columns(const db_con_t* _h, db_res_t* _r) }
if (db_allocate_columns(_r, RES_COL_N(_r)) != 0) { - LM_ERR("could not allocate columns"); + LM_ERR("could not allocate columns\n"); return -3; }
@@ -116,7 +116,7 @@ int db_postgres_get_columns(const db_con_t* _h, db_res_t* _r) db_free_columns(_r); return -4; } - LM_DBG("allocate %d bytes for RES_NAMES[%d] at %p", sizeof(str), col, + LM_DBG("allocate %d bytes for RES_NAMES[%d] at %p\n", sizeof(str), col, RES_NAMES(_r)[col]);
/* The pointer that is here returned is part of the result structure. */ @@ -132,21 +132,21 @@ int db_postgres_get_columns(const db_con_t* _h, db_res_t* _r) case INT2OID: case INT4OID: case INT8OID: - LM_DBG("use DB_INT result type"); + LM_DBG("use DB_INT result type\n"); RES_TYPES(_r)[col] = DB_INT; break;
case FLOAT4OID: case FLOAT8OID: case NUMERICOID: - LM_DBG("use DB_DOUBLE result type"); + LM_DBG("use DB_DOUBLE result type\n"); RES_TYPES(_r)[col] = DB_DOUBLE; break;
case DATEOID: case TIMESTAMPOID: case TIMESTAMPTZOID: - LM_DBG("use DB_DATETIME result type"); + LM_DBG("use DB_DATETIME result type\n"); RES_TYPES(_r)[col] = DB_DATETIME; break;
@@ -154,19 +154,19 @@ int db_postgres_get_columns(const db_con_t* _h, db_res_t* _r) case CHAROID: case VARCHAROID: case BPCHAROID: - LM_DBG("use DB_STRING result type"); + LM_DBG("use DB_STRING result type\n"); RES_TYPES(_r)[col] = DB_STRING; break;
case TEXTOID: case BYTEAOID: - LM_DBG("use DB_BLOB result type"); + LM_DBG("use DB_BLOB result type\n"); RES_TYPES(_r)[col] = DB_BLOB; break;
case BITOID: case VARBITOID: - LM_DBG("use DB_BITMAP result type"); + LM_DBG("use DB_BITMAP result type\n"); RES_TYPES(_r)[col] = DB_BITMAP; break;