Module: kamailio
Branch: 5.5
Commit: 5ebbb557729df2f888f288ac21f61a662f7d8aa8
URL:
https://github.com/kamailio/kamailio/commit/5ebbb557729df2f888f288ac21f61a6…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2021-06-24T18:33:26+02:00
dispatcher: print eol in some log messages
(cherry picked from commit e6f4e929efb61a1a51aa1b4b5587999acc8dc55d)
---
Modified: src/modules/dispatcher/dispatch.c
---
Diff:
https://github.com/kamailio/kamailio/commit/5ebbb557729df2f888f288ac21f61a6…
Patch:
https://github.com/kamailio/kamailio/commit/5ebbb557729df2f888f288ac21f61a6…
---
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) {