Browse code

db_postgres: add missing line breaks to log statements

Henning Westerholt authored on 05/06/2019 20:26:09
Showing 2 changed files
... ...
@@ -606,7 +606,7 @@ int db_postgres_insert(const db1_con_t *_h, const db_key_t *_k,
606 606
 	int tmp = db_postgres_store_result(_h, &_r);
607 607
 
608 608
 	if(tmp < 0) {
609
-		LM_WARN("unexpected result returned");
609
+		LM_WARN("unexpected result returned\n");
610 610
 		ret = tmp;
611 611
 	}
612 612
 
... ...
@@ -635,7 +635,7 @@ int db_postgres_delete(const db1_con_t *_h, const db_key_t *_k,
635 635
 	int tmp = db_postgres_store_result(_h, &_r);
636 636
 
637 637
 	if(tmp < 0) {
638
-		LM_WARN("unexpected result returned");
638
+		LM_WARN("unexpected result returned\n");
639 639
 		ret = tmp;
640 640
 	}
641 641
 
... ...
@@ -914,7 +914,7 @@ int db_postgres_update(const db1_con_t *_h, const db_key_t *_k,
914 914
 	int tmp = db_postgres_store_result(_h, &_r);
915 915
 
916 916
 	if(tmp < 0) {
917
-		LM_WARN("unexpected result returned");
917
+		LM_WARN("unexpected result returned\n");
918 918
 		ret = tmp;
919 919
 	}
920 920
 
... ...
@@ -523,7 +523,7 @@ error:
523 523
 int mod_register(char *path, int *dlflags, void *p1, void *p2)
524 524
 {
525 525
 	if(!pg_alloc_buffer()) {
526
-		LM_ERR("failed too allocate buffer");
526
+		LM_ERR("failed too allocate buffer\n");
527 527
 		return -1;
528 528
 	}
529 529
 	if(db_api_init() < 0)