Browse code

dispatcher: print eol in some log messages

(cherry picked from commit e6f4e929efb61a1a51aa1b4b5587999acc8dc55d)

Daniel-Constantin Mierla authored on 17/06/2021 14:40:39
Showing 1 changed files
... ...
@@ -325,7 +325,7 @@ int ds_set_attrs(ds_dest_t *dest, str *vattrs)
325 325
 				dest->attrs.weight = tmp_ival;
326 326
 			} else {
327 327
 				dest->attrs.weight = 0;
328
-				LM_ERR("weight %d not in 1-100 range - ignoring destination",
328
+				LM_ERR("weight %d not in 1-100 range - ignoring destination\n",
329 329
 						tmp_ival);
330 330
 			}
331 331
 		} else if(pit->name.len == 7
... ...
@@ -350,7 +350,7 @@ int ds_set_attrs(ds_dest_t *dest, str *vattrs)
350 350
 				dest->attrs.rweight = tmp_ival;
351 351
 			} else {
352 352
 				dest->attrs.rweight = 0;
353
-				LM_WARN("rweight %d not in 1-100 range - ignoring", tmp_ival);
353
+				LM_WARN("rweight %d not in 1-100 range - ignoring\n", tmp_ival);
354 354
 			}
355 355
 		} else if(pit->name.len == 9
356 356
 				&& strncasecmp(pit->name.s, "ping_from", 9) == 0) {