2
0
Эх сурвалжийг харах

- fix a few line breaks in errors logs

git-svn-id: https://openser.svn.sourceforge.net/svnroot/openser/trunk@5414 689a6050-402a-0410-94f2-e92a70836424
Henning Westerholt 16 жил өмнө
parent
commit
5c47885dad

+ 3 - 3
modules/db_postgres/km_res.c

@@ -223,7 +223,7 @@ int db_postgres_convert_rows(const db_con_t* _h, db_res_t* _r)
 	memset(row_buf, 0, len);
 
 	if (db_allocate_rows(_r) < 0) {
-		LM_ERR("could not allocate rows");
+		LM_ERR("could not allocate rows\n");
 		return -2;
 	}
 
@@ -295,7 +295,7 @@ int db_postgres_convert_row(const db_con_t* _h, db_res_t* _r, db_row_t* _row,
 	}
 
 	if (db_allocate_row(_r, _row) != 0) {
-		LM_ERR("could not allocate row");
+		LM_ERR("could not allocate row\n");
 		return -2;
 	}
 
@@ -311,7 +311,7 @@ int db_postgres_convert_row(const db_con_t* _h, db_res_t* _r, db_row_t* _row,
 		if (db_postgres_str2val(RES_TYPES(_r)[col], &(ROW_VALUES(_row)[col]),
 		row_buf[col], col_len) < 0) {
 			LM_ERR("failed to convert value\n");
-			LM_DBG("free row at %pn", _row);
+			LM_DBG("free row at %p\n", _row);
 			db_free_row(_row);
 			return -3;
 		}