Module: kamailio
Branch: master
Commit: e6f4e929efb61a1a51aa1b4b5587999acc8dc55d
URL:
https://github.com/kamailio/kamailio/commit/e6f4e929efb61a1a51aa1b4b5587999…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2021-06-17T16:40:39+02:00
dispatcher: print eol in some log messages
---
Modified: src/modules/dispatcher/dispatch.c
---
Diff:
https://github.com/kamailio/kamailio/commit/e6f4e929efb61a1a51aa1b4b5587999…
Patch:
https://github.com/kamailio/kamailio/commit/e6f4e929efb61a1a51aa1b4b5587999…
---
diff --git a/src/modules/dispatcher/dispatch.c b/src/modules/dispatcher/dispatch.c
index 78ece3fffe..674678417d 100644
--- a/src/modules/dispatcher/dispatch.c
+++ b/src/modules/dispatcher/dispatch.c
@@ -325,7 +325,7 @@ int ds_set_attrs(ds_dest_t *dest, str *vattrs)
dest->attrs.weight = tmp_ival;
} else {
dest->attrs.weight = 0;
- LM_ERR("weight %d not in 1-100 range - ignoring destination",
+ LM_ERR("weight %d not in 1-100 range - ignoring destination\n",
tmp_ival);
}
} else if(pit->name.len == 7
@@ -350,7 +350,7 @@ int ds_set_attrs(ds_dest_t *dest, str *vattrs)
dest->attrs.rweight = tmp_ival;
} else {
dest->attrs.rweight = 0;
- LM_WARN("rweight %d not in 1-100 range - ignoring", tmp_ival);
+ LM_WARN("rweight %d not in 1-100 range - ignoring\n", tmp_ival);
}
} else if(pit->name.len == 9
&& strncasecmp(pit->name.s, "ping_from", 9) == 0) {