#### Pre-Submission Checklist
- [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:
- [x] PR should be backported to stable branches
- [x] Tested changes locally
- [x] Related to issue #3464
#### Description
fixed rabbitmq-c deprecation warning
You can view, comment on, or merge this pull request online at:
https://github.com/kamailio/kamailio/pull/3670
-- Commit Summary --
* rabbitmq: fixed rabbitmq-c deprecation warning
* kazoo: fixed rabbitmq-c deprecation warning
-- File Changes --
M src/modules/kazoo/Makefile (4)
M src/modules/kazoo/kz_amqp.c (9)
M src/modules/kazoo/kz_amqp.h (5)
M src/modules/rabbitmq/Makefile (4)
M src/modules/rabbitmq/rabbitmq.c (7)
M src/modules/rabbitmq/utils.c (6)
-- Patch Links --
https://github.com/kamailio/kamailio/pull/3670.patchhttps://github.com/kamailio/kamailio/pull/3670.diff
--
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/3670
You are receiving this because you are subscribed to this thread.
Message ID: <kamailio/kamailio/pull/3670(a)github.com>
On Ubuntu, `/bin/sh` defaults to `dash` whose built-in `echo` command does not support the `-e` flag. `printf`, on the other hand, supports backslash escapes by default so we use that instead.
In passing, also clean up some messy ANSI escape codes.
You can view, comment on, or merge this pull request online at:
https://github.com/kamailio/kamailio/pull/3671
-- Commit Summary --
* utils: Prefer `printf` over `echo -e`.
-- File Changes --
M pkg/kamailio/obs/kamailio.init (2)
M utils/kamctl/kamctl (2)
M utils/kamctl/kamctl.base (10)
M utils/kamctl/kamdbctl (6)
M utils/kamctl/kamdbctl.base (10)
-- Patch Links --
https://github.com/kamailio/kamailio/pull/3671.patchhttps://github.com/kamailio/kamailio/pull/3671.diff
--
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/3671
You are receiving this because you are subscribed to this thread.
Message ID: <kamailio/kamailio/pull/3671(a)github.com>
Module: kamailio
Branch: master
Commit: 8d3d53f5f698da1357c3475ae136677099b2f702
URL: https://github.com/kamailio/kamailio/commit/8d3d53f5f698da1357c3475ae136677…
Author: Sean Bright <sean(a)seanbright.com>
Committer: Victor Seva <linuxmaniac(a)torreviejawireless.org>
Date: 2023-12-12T10:38:06+01:00
utils: Prefer `printf` over `echo -e`.
On Ubuntu, `/bin/sh` defaults to `dash` whose built-in `echo` command
does not support the `-e` flag. `printf`, on the other hand, supports
backslash escapes by default so we use that instead.
In passing, also clean up some messy ANSI escape codes.
---
Modified: pkg/kamailio/obs/kamailio.init
Modified: utils/kamctl/kamctl
Modified: utils/kamctl/kamctl.base
Modified: utils/kamctl/kamdbctl
Modified: utils/kamctl/kamdbctl.base
---
Diff: https://github.com/kamailio/kamailio/commit/8d3d53f5f698da1357c3475ae136677…
Patch: https://github.com/kamailio/kamailio/commit/8d3d53f5f698da1357c3475ae136677…