Browse code

- add a few more missing '\n' to debug messages

git-svn-id: https://openser.svn.sourceforge.net/svnroot/openser/trunk@4163 689a6050-402a-0410-94f2-e92a70836424

Henning Westerholt authored on 13/05/2008 12:00:36
Showing 2 changed files
... ...
@@ -155,7 +155,7 @@ static inline int db_mysql_convert_rows(const db_con_t* _h, db_res_t* _r)
155 155
 		LM_ERR("no private memory left\n");
156 156
 		return -2;
157 157
 	}
158
-	LM_DBG("allocate %d bytes for rows at %p", len, RES_ROWS(_r));
158
+	LM_DBG("allocate %d bytes for rows at %p\n", len, RES_ROWS(_r));
159 159
 	memset(RES_ROWS(_r), 0, len);
160 160
 
161 161
 	for(row = 0; row < RES_ROW_N(_r); row++) {
... ...
@@ -52,7 +52,7 @@ int db_mysql_convert_row(const db_con_t* _h, db_res_t* _res, db_row_t* _r)
52 52
 		LM_ERR("no private memory left\n");
53 53
 		return -1;
54 54
 	}
55
-	LM_DBG("allocate %d bytes for row values at %p", len,
55
+	LM_DBG("allocate %d bytes for row values at %p\n", len,
56 56
 			ROW_VALUES(_r));
57 57
 
58 58
 	memset(ROW_VALUES(_r), 0, len);
... ...
@@ -65,7 +65,7 @@ int db_mysql_convert_row(const db_con_t* _h, db_res_t* _res, db_row_t* _r)
65 65
 		if (db_mysql_str2val(RES_TYPES(_res)[i], &(ROW_VALUES(_r)[i]),
66 66
 			    ((MYSQL_ROW)CON_ROW(_h))[i], lengths[i]) < 0) {
67 67
 			LM_ERR("failed to convert value\n");
68
-			LM_DBG("free row at %pn", _r);
68
+			LM_DBG("free row at %p\n", _r);
69 69
 			db_free_row(_r);
70 70
 			return -3;
71 71
 		}