<!-- Kamailio Pull Request Template -->
#### Pre-Submission Checklist
<!-- Go over all points below, and after creating the PR, tick all the checkboxes that apply -->
<!-- All points should be verified, otherwise, read the CONTRIBUTING guidelines from above-->
<!-- If you're unsure about any of these, don't hesitate to ask on sr-dev mailing list -->
- [ x] Commit message has the format required by CONTRIBUTING guide
- [ x] Commits are split per component (core, individual modules, libs, utils, ...)
- [x ] Each component has a single commit (if not, squash them into one commit)
- [x ] No commits to README files for modules (changes must be done to docbook files
in `doc/` subfolder, the README file is autogenerated)
#### Type Of Change
- [x ] Small bug fix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds new functionality)
- [ ] Breaking change (fix or feature that would change existing functionality)
#### Checklist:
<!-- Go over all points below, and after creating the PR, tick the checkboxes that apply -->
- [x] PR should be backported to stable branches
- [x] Tested changes locally
- [ ] Related to issue #XXXX (replace XXXX with an open issue number)
#### Description
<!-- Describe your changes in detail -->
get_body_part functions gives error even if content is not multipart. Fixed for non-multipart contents and set all contents for non-boundary params
You can view, comment on, or merge this pull request online at:
https://github.com/kamailio/kamailio/pull/1730
-- Commit Summary --
* core : add word to log get_boundary function
* textops: fixed get_body_part function for non-multipart contents error
-- File Changes --
M src/core/msg_translator.c (2)
M src/modules/textops/textops.c (19)
-- Patch Links --
https://github.com/kamailio/kamailio/pull/1730.patchhttps://github.com/kamailio/kamailio/pull/1730.diff
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/1730
Module: kamailio
Branch: 5.0
Commit: 0965f58554f5917efecbc9e3329789a9f7c4472f
URL: https://github.com/kamailio/kamailio/commit/0965f58554f5917efecbc9e3329789a…
Author: Dmitri Savolainen <savolainen(a)erinaco.ru>
Committer: Henning Westerholt <hw(a)kamailio.org>
Date: 2018-11-20T10:56:31+01:00
dialog: fix typo in warn message (#1731)
- GH #1731
(cherry picked from commit df6152fd69469eb340078535a3cf8b28e901ea7d)
---
Modified: src/modules/dialog/dlg_db_handler.c
---
Diff: https://github.com/kamailio/kamailio/commit/0965f58554f5917efecbc9e3329789a…
Patch: https://github.com/kamailio/kamailio/commit/0965f58554f5917efecbc9e3329789a…
---
diff --git a/src/modules/dialog/dlg_db_handler.c b/src/modules/dialog/dlg_db_handler.c
index 0b9d77ce89..8e8b5b088b 100644
--- a/src/modules/dialog/dlg_db_handler.c
+++ b/src/modules/dialog/dlg_db_handler.c
@@ -565,11 +565,11 @@ static int load_dialog_vars_from_db(int fetch_num_rows)
}
dlg = dlg->next;
if (!dlg) {
- LM_WARN("insonsistent data: the dialog h_entry/h_id does not exist!\n");
+ LM_WARN("inconsistent data: the dialog h_entry/h_id does not exist!\n");
}
}
} else {
- LM_WARN("insonsistent data: the h_entry in the DB does not exist!\n");
+ LM_WARN("inconsistent data: the h_entry in the DB does not exist!\n");
}
}
Module: kamailio
Branch: 5.2
Commit: 2a42aebc8d6905989f21ec21459a1cd368632b6f
URL: https://github.com/kamailio/kamailio/commit/2a42aebc8d6905989f21ec21459a1cd…
Author: Dmitri Savolainen <savolainen(a)erinaco.ru>
Committer: Henning Westerholt <hw(a)kamailio.org>
Date: 2018-11-20T10:52:57+01:00
dialog: fix typo in warn message (#1731)
- GH #1731
(cherry picked from commit df6152fd69469eb340078535a3cf8b28e901ea7d)
---
Modified: src/modules/dialog/dlg_db_handler.c
---
Diff: https://github.com/kamailio/kamailio/commit/2a42aebc8d6905989f21ec21459a1cd…
Patch: https://github.com/kamailio/kamailio/commit/2a42aebc8d6905989f21ec21459a1cd…
---
diff --git a/src/modules/dialog/dlg_db_handler.c b/src/modules/dialog/dlg_db_handler.c
index d759140018..1b9d704cf6 100644
--- a/src/modules/dialog/dlg_db_handler.c
+++ b/src/modules/dialog/dlg_db_handler.c
@@ -643,14 +643,14 @@ static int load_dialog_vars_from_db(int fetch_num_rows, int mode,
}
dlg = dlg->next;
if (!dlg) {
- LM_WARN("insonsistent data: the dialog h_entry/h_id does not exist!\n");
+ LM_WARN("inconsistent data: the dialog h_entry/h_id does not exist!\n");
}
}
if(mode==1 && mval!=NULL) {
dlg_unlock(d_table, &(d_table->entries[VAL_INT(values)]));
}
} else {
- LM_WARN("insonsistent data: the h_entry in the DB does not exist!\n");
+ LM_WARN("inconsistent data: the h_entry in the DB does not exist!\n");
}
}
Module: kamailio
Branch: 5.1
Commit: 7fd9d125ef3d0ee41fc054176e3eb56c2e1a4094
URL: https://github.com/kamailio/kamailio/commit/7fd9d125ef3d0ee41fc054176e3eb56…
Author: Dmitri Savolainen <savolainen(a)erinaco.ru>
Committer: Henning Westerholt <hw(a)kamailio.org>
Date: 2018-11-20T10:53:33+01:00
dialog: fix typo in warn message (#1731)
- GH #1731
(cherry picked from commit df6152fd69469eb340078535a3cf8b28e901ea7d)
---
Modified: src/modules/dialog/dlg_db_handler.c
---
Diff: https://github.com/kamailio/kamailio/commit/7fd9d125ef3d0ee41fc054176e3eb56…
Patch: https://github.com/kamailio/kamailio/commit/7fd9d125ef3d0ee41fc054176e3eb56…
---
diff --git a/src/modules/dialog/dlg_db_handler.c b/src/modules/dialog/dlg_db_handler.c
index 0b9d77ce89..8e8b5b088b 100644
--- a/src/modules/dialog/dlg_db_handler.c
+++ b/src/modules/dialog/dlg_db_handler.c
@@ -565,11 +565,11 @@ static int load_dialog_vars_from_db(int fetch_num_rows)
}
dlg = dlg->next;
if (!dlg) {
- LM_WARN("insonsistent data: the dialog h_entry/h_id does not exist!\n");
+ LM_WARN("inconsistent data: the dialog h_entry/h_id does not exist!\n");
}
}
} else {
- LM_WARN("insonsistent data: the h_entry in the DB does not exist!\n");
+ LM_WARN("inconsistent data: the h_entry in the DB does not exist!\n");
}
}
- [x] Commit message has the format required by CONTRIBUTING guide
- [x] Commits are split per component (core, individual modules, libs, utils, ...)
- [x] Each component has a single commit (if not, squash them into one commit)
- [x] No commits to README files for modules (changes must be done to docbook files
in `doc/` subfolder, the README file is autogenerated)
#### Type Of Change
- [x] Small bug fix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds new functionality)
- [ ] Breaking change (fix or feature that would change existing functionality)
You can view, comment on, or merge this pull request online at:
https://github.com/kamailio/kamailio/pull/1731
-- Commit Summary --
* dialog: fix typo in warn message
-- File Changes --
M src/modules/dialog/dlg_db_handler.c (4)
-- Patch Links --
https://github.com/kamailio/kamailio/pull/1731.patchhttps://github.com/kamailio/kamailio/pull/1731.diff
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/1731
Module: kamailio
Branch: master
Commit: df6152fd69469eb340078535a3cf8b28e901ea7d
URL: https://github.com/kamailio/kamailio/commit/df6152fd69469eb340078535a3cf8b2…
Author: Dmitri Savolainen <savolainen(a)erinaco.ru>
Committer: Henning Westerholt <henningw(a)users.noreply.github.com>
Date: 2018-11-20T10:42:05+01:00
dialog: fix typo in warn message (#1731)
Thank you!
---
Modified: src/modules/dialog/dlg_db_handler.c
---
Diff: https://github.com/kamailio/kamailio/commit/df6152fd69469eb340078535a3cf8b2…
Patch: https://github.com/kamailio/kamailio/commit/df6152fd69469eb340078535a3cf8b2…
---
diff --git a/src/modules/dialog/dlg_db_handler.c b/src/modules/dialog/dlg_db_handler.c
index d759140018..1b9d704cf6 100644
--- a/src/modules/dialog/dlg_db_handler.c
+++ b/src/modules/dialog/dlg_db_handler.c
@@ -643,14 +643,14 @@ static int load_dialog_vars_from_db(int fetch_num_rows, int mode,
}
dlg = dlg->next;
if (!dlg) {
- LM_WARN("insonsistent data: the dialog h_entry/h_id does not exist!\n");
+ LM_WARN("inconsistent data: the dialog h_entry/h_id does not exist!\n");
}
}
if(mode==1 && mval!=NULL) {
dlg_unlock(d_table, &(d_table->entries[VAL_INT(values)]));
}
} else {
- LM_WARN("insonsistent data: the h_entry in the DB does not exist!\n");
+ LM_WARN("inconsistent data: the h_entry in the DB does not exist!\n");
}
}