sip-router
9 months agopkg/kamailio/obs: packaged pv_headers module
Sergey Safarov [Fri, 6 Dec 2019 14:15:19 +0000 (17:15 +0300)]
pkg/kamailio/obs: packaged pv_headers module

9 months agojanssonrpcc: fixed errors from previous commit
Daniel-Constantin Mierla [Fri, 6 Dec 2019 08:57:54 +0000 (09:57 +0100)]
janssonrpcc: fixed errors from previous commit

9 months agojanssonrpcc: replaced str dup wrapers with the functions from core
Daniel-Constantin Mierla [Fri, 6 Dec 2019 08:49:51 +0000 (09:49 +0100)]
janssonrpcc: replaced str dup wrapers with the functions from core

- they were basic wrappers and returning variables declared on stack
- time conversion inline function replaced with macro

9 months agojanssonrpcc: fix build warning
Victor Seva [Thu, 5 Dec 2019 19:08:08 +0000 (20:08 +0100)]
janssonrpcc: fix build warning

> In file included from janssonrpc_connect.c:41:
> ./janssonrpc.h:98:9: warning: variable 'res' is uninitialized when used here [-Wuninitialized]
>       return res;
>              ^~~
> ./janssonrpc.h:96:2: note: variable 'res' is declared here
>       str res;
>       ^
> ./janssonrpc.h:105:9: warning: variable 'res' is uninitialized when used here [-Wuninitialized]
>       return res;
>              ^~~
> ./janssonrpc.h:103:2: note: variable 'res' is declared here
>       str res;
>       ^
>
> 2 warnings generated.

9 months agomodules: readme files regenerated - registrar ... [skip ci]
Kamailio Dev [Thu, 5 Dec 2019 18:46:10 +0000 (19:46 +0100)]
modules: readme files regenerated - registrar ... [skip ci]

9 months agoregistrar: add path value to xavp_rcd
Andreas Granig [Mon, 2 Dec 2019 12:47:58 +0000 (13:47 +0100)]
registrar: add path value to xavp_rcd

9 months agoMakefile.groups: add new pv_headers to basic group
Victor Seva [Thu, 28 Nov 2019 12:49:08 +0000 (13:49 +0100)]
Makefile.groups: add new pv_headers to basic group

9 months agopv_headers: Initial commit
Victor Seva [Thu, 28 Nov 2019 12:44:23 +0000 (13:44 +0100)]
pv_headers: Initial commit

The main goal of the module is to offload the intermediate header
processing into the XAVP dynamic container as well as provide with high
level methods and pseudovariables to simplify SIP message header
modifications.

9 months agomodules: readme files regenerated - cfgt ... [skip ci]
Kamailio Dev [Thu, 5 Dec 2019 12:01:15 +0000 (13:01 +0100)]
modules: readme files regenerated - cfgt ... [skip ci]

9 months agocfgt: add RPC commands 'cfgt.list' and 'cfgt.clean'
Victor Seva [Wed, 4 Dec 2019 10:46:00 +0000 (11:46 +0100)]
cfgt: add RPC commands 'cfgt.list' and 'cfgt.clean'

fixes #574

9 months agomodules: readme files regenerated - ims_usrloc_scscf ... [skip ci]
Kamailio Dev [Thu, 5 Dec 2019 09:16:24 +0000 (10:16 +0100)]
modules: readme files regenerated - ims_usrloc_scscf ... [skip ci]

9 months agoims_usrloc_scscf: fix parameter example titles
Henning Westerholt [Thu, 5 Dec 2019 09:05:14 +0000 (10:05 +0100)]
ims_usrloc_scscf: fix parameter example titles

9 months agomodules: readme files regenerated - acc_json ... [skip ci]
Kamailio Dev [Wed, 4 Dec 2019 11:11:33 +0000 (12:11 +0100)]
modules: readme files regenerated - acc_json ... [skip ci]

9 months agocore: kemi - fixed missing support to check for REFER method
Daniel-Constantin Mierla [Wed, 4 Dec 2019 07:20:30 +0000 (08:20 +0100)]
core: kemi - fixed missing support to check for REFER method

9 months agoims_ipsec_pcscf: fixed defects and warnings:
Aleksandar Yosifov [Tue, 3 Dec 2019 12:05:00 +0000 (14:05 +0200)]
ims_ipsec_pcscf: fixed defects and warnings:

- fixed a defect reported from Coverity Scan - Concurrent data access
  violations in spi_gen.c for spi_data->spi_val.
- in create_ipsec_tunnel() return -1 when unable to convert ip address.
- in ipsec_create() go to cleanup instead return -1 when get request
  for reply fails. Fixed debug message for that error.

9 months agocfgt: remove dbg from RPC commands
Victor Seva [Tue, 3 Dec 2019 12:40:14 +0000 (13:40 +0100)]
cfgt: remove dbg from RPC commands

9 months agocfgt: [doc] add missing </section>
Victor Seva [Tue, 3 Dec 2019 11:46:44 +0000 (12:46 +0100)]
cfgt: [doc] add missing </section>

9 months agocfgt: add docs for missing RPC commands
Victor Seva [Tue, 3 Dec 2019 11:07:04 +0000 (12:07 +0100)]
cfgt: add docs for missing RPC commands

9 months agocfgt: group RPC commands using module name
Victor Seva [Tue, 3 Dec 2019 09:38:54 +0000 (10:38 +0100)]
cfgt: group RPC commands using module name

9 months agopermissions: fix crash if load_backends parameter is 1
Victor Seva [Tue, 3 Dec 2019 11:12:54 +0000 (12:12 +0100)]
permissions: fix crash if load_backends parameter is 1

fixes #2151

9 months agortproxy: docs - fixed section id value
Daniel-Constantin Mierla [Mon, 2 Dec 2019 18:07:40 +0000 (19:07 +0100)]
rtproxy: docs - fixed section id value

9 months agokex: docs - fixed rpc command name for shm memory details
Daniel-Constantin Mierla [Mon, 2 Dec 2019 15:47:40 +0000 (16:47 +0100)]
kex: docs - fixed rpc command name for shm memory details

9 months agojsonrpcc: use snprintf() instead of sprintf()
Daniel-Constantin Mierla [Mon, 2 Dec 2019 15:25:44 +0000 (16:25 +0100)]
jsonrpcc: use snprintf() instead of sprintf()

9 months agonsq: use snprintf() instead of sprintf()
Daniel-Constantin Mierla [Mon, 2 Dec 2019 15:21:25 +0000 (16:21 +0100)]
nsq: use snprintf() instead of sprintf()

10 months agotm: extend t_newtran docs with a note about flag behaviour
Henning Westerholt [Fri, 29 Nov 2019 18:40:03 +0000 (19:40 +0100)]
tm: extend t_newtran docs with a note about flag behaviour

10 months agoutils: Change sh(1) "test ==" usage to "="
Greg Troxel [Fri, 29 Nov 2019 01:53:23 +0000 (20:53 -0500)]
utils: Change sh(1) "test ==" usage to "="

The POSIX sh(1) specification says that strings are compared with
test(1) (also "[") with "=".  Bash accepts "==" and this leads to
non-portable code.  This commit simply changes "==" within test/[ to
"=".

10 months agoRevert "core: increase SHM memory pool to 128 MB"
Henning Westerholt [Fri, 29 Nov 2019 14:55:55 +0000 (15:55 +0100)]
Revert "core: increase SHM memory pool to 128 MB"

- This reverts commit 063e6a025b8ca0163af2147f057d29447c6f9760.
- to be added as comment to default sysconfig packaging files

10 months agocfgt: fix detection of jump to previous-previous route
Marco Capetta [Fri, 29 Nov 2019 08:28:45 +0000 (09:28 +0100)]
cfgt: fix detection of jump to previous-previous route

* this happends with onsend_route

10 months agosnmpstats: use snprintf instead of snprintf
Daniel-Constantin Mierla [Thu, 28 Nov 2019 19:08:24 +0000 (20:08 +0100)]
snmpstats: use snprintf instead of snprintf

10 months agoapp_perl: use snprintf instead of sprintf
Daniel-Constantin Mierla [Thu, 28 Nov 2019 18:58:48 +0000 (19:58 +0100)]
app_perl: use snprintf instead of sprintf

10 months agocfgt: don't try to create dir if it already exists
Victor Seva [Thu, 28 Nov 2019 13:28:14 +0000 (14:28 +0100)]
cfgt: don't try to create dir if it already exists

10 months agocore: safety checks for xavp operations
Daniel-Constantin Mierla [Wed, 27 Nov 2019 19:28:49 +0000 (20:28 +0100)]
core: safety checks for xavp operations

10 months agonathelper: use set_alias_to_pv() for kemi export name
Daniel-Constantin Mierla [Wed, 27 Nov 2019 19:15:39 +0000 (20:15 +0100)]
nathelper: use set_alias_to_pv() for kemi export name

- same as for config export
- helper functions renamed to reflect better their purpose

10 months agocore: print modparam type as string in log message
Daniel-Constantin Mierla [Tue, 26 Nov 2019 14:18:22 +0000 (15:18 +0100)]
core: print modparam type as string in log message

10 months agorr: debug messages when setting send socket on double rr
Daniel-Constantin Mierla [Tue, 26 Nov 2019 10:25:46 +0000 (11:25 +0100)]
rr: debug messages when setting send socket on double rr

10 months agodb_redis: do not print full table scan warning when loading the entire table
Daniel-Constantin Mierla [Tue, 26 Nov 2019 08:14:42 +0000 (09:14 +0100)]
db_redis: do not print full table scan warning when loading the entire table

- GH #2149

10 months agocore: new command line parameter --modparam
Daniel-Constantin Mierla [Tue, 26 Nov 2019 07:46:26 +0000 (08:46 +0100)]
core: new command line parameter --modparam

- allow setting a module parameter via command line
- format: --modparam=modname:paramname:type:valye
- type can be: 'i' for integer value; 's' for string value
- example:

kamailio --loadmodule=xprint.so --modparam=xprint:buf_size:i:2048

10 months agocore: utils functions to converts strz to integer
Daniel-Constantin Mierla [Tue, 26 Nov 2019 07:40:00 +0000 (08:40 +0100)]
core: utils functions to converts strz to integer

10 months agonathelper: remove AVP from log message, use generic term
Henning Westerholt [Mon, 25 Nov 2019 19:53:37 +0000 (20:53 +0100)]
nathelper: remove AVP from log message, use generic term

10 months agonathelper: remove redundant check for zero
Henning Westerholt [Mon, 25 Nov 2019 19:48:05 +0000 (20:48 +0100)]
nathelper: remove redundant check for zero

10 months agonathelper: small spelling fix in docs
Henning Westerholt [Mon, 25 Nov 2019 19:45:46 +0000 (20:45 +0100)]
nathelper: small spelling fix in docs

10 months agonathelper : set_alias_to_avp is renamed to set_alias_to_pv
Yasin CANER [Thu, 21 Nov 2019 17:57:25 +0000 (17:57 +0000)]
nathelper : set_alias_to_avp is renamed to set_alias_to_pv

set_alias_to_avp renamed to set_alias_to_pv

10 months agonathelper : added doc for set_alias_to_avp
Yasin CANER [Tue, 12 Nov 2019 17:09:38 +0000 (17:09 +0000)]
nathelper : added doc for set_alias_to_avp

added documents for set_alias_to_avp function

10 months agonathelper : new function set_alias_to_avp_f is renamed
Yasin CANER [Tue, 12 Nov 2019 14:52:23 +0000 (09:52 -0500)]
nathelper : new function set_alias_to_avp_f is renamed

function set_alias_to_avp_f is renamed to w_set_alias_to_avp
added kemi interface

10 months agonathelper : fixed memory-leak for set_alias_to_avp
Yasin CANER [Sun, 10 Nov 2019 18:06:39 +0000 (18:06 +0000)]
nathelper : fixed memory-leak for set_alias_to_avp

fixed memory-leak for new function set_alias_to_avp
fixed some spelling
added return for functions write_to_avp and alias_to_uri

10 months agonathelper : added description of set_alias_to_avp function
Yasin CANER [Fri, 8 Nov 2019 11:06:34 +0000 (06:06 -0500)]
nathelper : added description of set_alias_to_avp function

added description of set_alias_to_avp function

10 months agonathelper : added new function set_alias_to_avp
Yasin CANER [Fri, 8 Nov 2019 10:57:22 +0000 (05:57 -0500)]
nathelper : added new function set_alias_to_avp

new function that read alias then write to given avp as sip uri

10 months agoparse_uri : added new function proto type int to str
root [Fri, 8 Nov 2019 10:14:28 +0000 (05:14 -0500)]
parse_uri : added new function proto type int to str

added new function proto type int to str

10 months agoMerge pull request #2147 from kamailio/grumvalski/local_request_drop
Federico Cabiddu [Mon, 25 Nov 2019 18:29:21 +0000 (19:29 +0100)]
Merge pull request #2147 from kamailio/grumvalski/local_request_drop

tm: add support for dropping messages in local-request event route

10 months agoapp_lua_sr: use snprintf() instead of sprintf()
Daniel-Constantin Mierla [Mon, 25 Nov 2019 11:02:01 +0000 (12:02 +0100)]
app_lua_sr: use snprintf() instead of sprintf()

10 months agotm: use snprintf() instead of sprintf()
Daniel-Constantin Mierla [Mon, 25 Nov 2019 10:54:36 +0000 (11:54 +0100)]
tm: use snprintf() instead of sprintf()

10 months agopike: use snprintf() instead of sprintf()
Daniel-Constantin Mierla [Mon, 25 Nov 2019 10:29:16 +0000 (11:29 +0100)]
pike: use snprintf() instead of sprintf()

10 months agosl: use snprintf() instead of sprintf()
Daniel-Constantin Mierla [Mon, 25 Nov 2019 10:21:08 +0000 (11:21 +0100)]
sl: use snprintf() instead of sprintf()

10 months agotm: initialize the context before running event route 2147/head
Federico Cabiddu [Mon, 25 Nov 2019 08:13:01 +0000 (09:13 +0100)]
tm: initialize the context before running event route

10 months agotm: add support for dropping messages in local-request event route
Federico Cabiddu [Mon, 18 Nov 2019 14:22:05 +0000 (15:22 +0100)]
tm: add support for dropping messages in local-request event route

10 months agodb_redis: fix printf type mismatch on size_t
Richard Fuchs [Sun, 24 Nov 2019 13:16:37 +0000 (08:16 -0500)]
db_redis: fix printf type mismatch on size_t

10 months agodb_redis: declare variables at the beginning of the function (GH #2146)
Henning Westerholt [Sun, 24 Nov 2019 08:03:27 +0000 (09:03 +0100)]
db_redis: declare variables at the beginning of the function (GH #2146)

- declare variables at the beginning of the function (GH #2146)
- error message: redis_dbase.c: In function 'db_redis_scan_query_keys':
  redis_dbase.c:1086:5: error: 'for' loop initial declarations are only allowed in C99 mode
     for (redis_key_t *set_key = set_keys; set_key; set_key = set_key->next)

10 months agocall_control: remove redundant str trim implementation and use the one from core
Henning Westerholt [Sat, 23 Nov 2019 22:19:32 +0000 (23:19 +0100)]
call_control: remove redundant str trim implementation and use the one from core

10 months agomediaproxy: remove redundant str trim implementation and use the one from core
Henning Westerholt [Sat, 23 Nov 2019 22:17:07 +0000 (23:17 +0100)]
mediaproxy: remove redundant str trim implementation and use the one from core

10 months agonat_traversal: remove not needed (and redundant) str trim implementation
Henning Westerholt [Sat, 23 Nov 2019 22:14:16 +0000 (23:14 +0100)]
nat_traversal: remove not needed (and redundant) str trim implementation

10 months agojsonrpcc: use core string handling instead of redundant implementation
Henning Westerholt [Sat, 23 Nov 2019 22:01:28 +0000 (23:01 +0100)]
jsonrpcc:  use core string handling instead of redundant implementation

10 months agonat_traversal: use core string handling instead of redundant implementation
Henning Westerholt [Sat, 23 Nov 2019 22:01:06 +0000 (23:01 +0100)]
nat_traversal:  use core string handling instead of redundant implementation

10 months agojanssonrpcc: use core string handling instead of redundant implementation
Henning Westerholt [Sat, 23 Nov 2019 22:00:00 +0000 (23:00 +0100)]
janssonrpcc:  use core string handling instead of redundant implementation

10 months agoxmpp: use core string handling instead of redundant implementation
Henning Westerholt [Sat, 23 Nov 2019 21:58:55 +0000 (22:58 +0100)]
xmpp: use core string handling instead of redundant implementation

10 months agoxmpp: use SHM_MEM_ERROR logging helper
Henning Westerholt [Sat, 23 Nov 2019 21:58:27 +0000 (22:58 +0100)]
xmpp: use SHM_MEM_ERROR logging helper

10 months agohttp_async_client: use core string handling instead of redundant implementation
Henning Westerholt [Sat, 23 Nov 2019 21:55:44 +0000 (22:55 +0100)]
http_async_client: use core string handling instead of redundant implementation

10 months agocore: add two new string handling functions to copy chars and str
Henning Westerholt [Sat, 23 Nov 2019 21:52:13 +0000 (22:52 +0100)]
core: add two new string handling functions to copy chars and str

- add two new string handling functions to copy chars and str
- shm_str2char_dup: Make a copy from str structure to a char pointer using shm_malloc
- shm_char_dup: Make a copy of a char pointer to a char pointer using shm_malloc

10 months agocore: increase SHM memory pool to 128 MB
Henning Westerholt [Sat, 23 Nov 2019 21:49:28 +0000 (22:49 +0100)]
core: increase SHM memory pool to 128 MB

- increase SHM memory pool to 128 MB
- even an embedded system like Raspberry Pi has 1 GB RAM nowadays
- make it less likely that new users run into issues because of lack of memory

10 months agoapp_sqlang: fix squirrel warning: ‘nArgs’ may be used uninitialized in this function
Henning Westerholt [Sat, 23 Nov 2019 17:53:17 +0000 (18:53 +0100)]
app_sqlang: fix squirrel warning: ‘nArgs’ may be used uninitialized in this function

10 months agodb_redis: declare variables at the beginning of the function
Daniel-Constantin Mierla [Sat, 23 Nov 2019 10:10:40 +0000 (11:10 +0100)]
db_redis: declare variables at the beginning of the function

- compiling with gcc 4.9 on debian jessie gives:
error: 'for' loop initial declarations are only allowed in C99 or C11 mode

10 months agokafka: declare variables at the beginning of the function
Daniel-Constantin Mierla [Sat, 23 Nov 2019 10:05:59 +0000 (11:05 +0100)]
kafka: declare variables at the beginning of the function

- compiling with gcc 4.9 on debian jessie gives:
error: 'for' loop initial declarations are only allowed in C99 or C11 mode

10 months agortpengine: document play_dtmf() command
Richard Fuchs [Fri, 22 Nov 2019 14:37:28 +0000 (09:37 -0500)]
rtpengine: document play_dtmf() command

10 months agortpengine: add play_dtmf() command
Richard Fuchs [Fri, 22 Nov 2019 14:37:02 +0000 (09:37 -0500)]
rtpengine: add play_dtmf() command

10 months agodb_redis: performance improvements and fixes
Richard Fuchs [Fri, 22 Nov 2019 13:35:49 +0000 (08:35 -0500)]
db_redis: performance improvements and fixes

- Support update of type key columns
- Support range scans on timestamp and int keys through a series of
  wildcard matches when used with a < or > operator
- Support exponential increase and fallof for SCAN
- Pad bigint values to 10 digits for faster wildcard matching
- Use KEYS instead of SCAN by default for faster keys matching
- Support optional versioning of table names
- Simulate non-unique indexes through parent sets for O(1) counting of
  entries

10 months agocore: new command line parameter --loadmodule=name
Daniel-Constantin Mierla [Fri, 22 Nov 2019 11:38:27 +0000 (12:38 +0100)]
core: new command line parameter --loadmodule=name

- enable the option to load a module from command line
- example: --loadmodule=systemdops.so

10 months agopkg/kamailio/obs: packaged log_systemd and systemdops modules
root [Fri, 22 Nov 2019 06:32:06 +0000 (06:32 +0000)]
pkg/kamailio/obs: packaged log_systemd and systemdops modules

GH #799
GH #2139

10 months agosystemdops: proper check for null value
Daniel-Constantin Mierla [Fri, 22 Nov 2019 08:42:08 +0000 (09:42 +0100)]
systemdops: proper check for null value

10 months agosrc/Makefile.groups: remove non existent mod_list_systemdops reference
Victor Seva [Fri, 22 Nov 2019 08:38:44 +0000 (09:38 +0100)]
src/Makefile.groups: remove non existent mod_list_systemdops reference

mod_list_systemd is already there

10 months agosystemdops: set core callbacks in mod_register()
Daniel-Constantin Mierla [Fri, 22 Nov 2019 08:14:06 +0000 (09:14 +0100)]
systemdops: set core callbacks in mod_register()

10 months agopkg/kamailio/deb: version set 5.4.0~dev2
Victor Seva [Fri, 22 Nov 2019 07:32:54 +0000 (08:32 +0100)]
pkg/kamailio/deb: version set 5.4.0~dev2

10 months agopkg/docker: updated submodule
Sergey Safarov [Thu, 21 Nov 2019 14:26:06 +0000 (17:26 +0300)]
pkg/docker: updated submodule

10 months agopkg/kamailio/obs: fixed rpm requirment for python23
Sergey Safarov [Thu, 21 Nov 2019 14:12:37 +0000 (17:12 +0300)]
pkg/kamailio/obs: fixed rpm requirment for python23

10 months agoMakefile.defs: version set to 5.4.0-dev2
Daniel-Constantin Mierla [Thu, 21 Nov 2019 12:45:29 +0000 (13:45 +0100)]
Makefile.defs: version set to 5.4.0-dev2

10 months agosrc/Makefile.groups: added systemdops module to systemd group
Daniel-Constantin Mierla [Thu, 21 Nov 2019 12:44:35 +0000 (13:44 +0100)]
src/Makefile.groups: added systemdops module to systemd group

10 months agosystemdops: new module to facilitate integration with systemd
Daniel-Constantin Mierla [Thu, 21 Nov 2019 12:42:14 +0000 (13:42 +0100)]
systemdops: new module to facilitate integration with systemd

10 months agocore: main - executes callbacks on app ready and shutdown
Daniel-Constantin Mierla [Thu, 21 Nov 2019 12:41:38 +0000 (13:41 +0100)]
core: main - executes callbacks on app ready and shutdown

10 months agocore: events - support for basic void core callbacks
Daniel-Constantin Mierla [Thu, 21 Nov 2019 12:40:21 +0000 (13:40 +0100)]
core: events - support for basic void core callbacks

- can be used to allow modules execute their code from core for specific needs

10 months agodispatcher: set the proper internal id for $dsv(reason)
Daniel-Constantin Mierla [Thu, 21 Nov 2019 10:49:50 +0000 (11:49 +0100)]
dispatcher: set the proper internal id for $dsv(reason)

10 months agotm: execute TMCB_REQUEST_FWDED cb as BRANCH_ROUTE when necessary
Victor Seva [Thu, 21 Nov 2019 07:15:03 +0000 (08:15 +0100)]
tm: execute TMCB_REQUEST_FWDED cb as BRANCH_ROUTE when necessary

10 months agodb_redis: allow deletion of all rows
rdboisvert [Tue, 19 Nov 2019 21:05:34 +0000 (16:05 -0500)]
db_redis: allow deletion of all rows

10 months agoims_isc: null terminate dst_uri field
Daniel-Constantin Mierla [Wed, 20 Nov 2019 18:31:19 +0000 (19:31 +0100)]
ims_isc: null terminate dst_uri field

10 months agoims_ipsec_pcscf: null terminate dst_uri fields
Daniel-Constantin Mierla [Wed, 20 Nov 2019 18:30:44 +0000 (19:30 +0100)]
ims_ipsec_pcscf: null terminate dst_uri fields

10 months agocore: make dst_uri null terminated
Daniel-Constantin Mierla [Wed, 20 Nov 2019 17:06:22 +0000 (18:06 +0100)]
core: make dst_uri null terminated

10 months agoapp_sqlang: imported latest squirrel interpreter
Daniel-Constantin Mierla [Tue, 19 Nov 2019 14:34:00 +0000 (15:34 +0100)]
app_sqlang: imported latest squirrel interpreter

10 months agodispatcher: new variable $dsv(...)
Daniel-Constantin Mierla [Tue, 19 Nov 2019 09:15:15 +0000 (10:15 +0100)]
dispatcher: new variable $dsv(...)

- access attributes related to response code when executing event routes
- $dsv(code) - the response code that triggered execution of the
event_route dispatcher:dst-up or dispatcher:dst-down
- $dsv(reason) - the response reason; $dsv(flags) - internal flags set
during event route execution

10 months agoutils/db_berkeley: fixed unused var
Sergey Safarov [Mon, 18 Nov 2019 17:45:48 +0000 (20:45 +0300)]
utils/db_berkeley: fixed unused var

kambdb_recover.c: In function 'load_metadata_columns':
kambdb_recover.c:819:6: warning: variable 'ret' set but not used [-Wunused-but-set-variable]
  819 |  int ret,n,len;
      |      ^~~

10 months agoutils/kamunix: use snprintf() instead of sprintf()
Daniel-Constantin Mierla [Mon, 18 Nov 2019 17:33:22 +0000 (18:33 +0100)]
utils/kamunix: use snprintf() instead of sprintf()

10 months agocnxcc: use snprintf() instead of sprintf()
Daniel-Constantin Mierla [Mon, 18 Nov 2019 17:29:05 +0000 (18:29 +0100)]
cnxcc: use snprintf() instead of sprintf()

10 months agoacc_radius: use snprintf() instead of sprintf()
Daniel-Constantin Mierla [Mon, 18 Nov 2019 17:24:36 +0000 (18:24 +0100)]
acc_radius: use snprintf() instead of sprintf()

10 months agouac: use snprintf() instead of sprintf()
Daniel-Constantin Mierla [Mon, 18 Nov 2019 17:05:19 +0000 (18:05 +0100)]
uac: use snprintf() instead of sprintf()