kamailio.org
Sign In
Sign Up
Sign In
Sign Up
Manage this list
×
Keyboard Shortcuts
Thread View
j
: Next unread message
k
: Previous unread message
j a
: Jump to all threads
j l
: Jump to MailingList overview
2025
January
2024
December
November
October
September
August
July
June
May
April
March
February
January
2023
December
November
October
September
August
July
June
May
April
March
February
January
2022
December
November
October
September
August
July
June
May
April
March
February
January
2021
December
November
October
September
August
July
June
May
April
March
February
January
2020
December
November
October
September
August
July
June
May
April
March
February
January
2019
December
November
October
September
August
July
June
May
April
March
February
January
2018
December
November
October
September
August
July
June
May
April
March
February
January
2017
December
November
October
September
August
July
June
May
April
March
February
January
2016
December
November
October
September
August
July
June
May
April
March
February
January
2015
December
November
October
September
August
July
June
May
April
March
February
January
2014
December
November
October
September
August
July
June
May
April
March
February
January
2013
December
November
October
September
August
July
June
May
April
March
February
January
2012
December
November
October
September
August
July
June
May
April
March
February
January
2011
December
November
October
September
August
July
June
May
April
March
February
January
2010
December
November
October
September
August
July
June
May
April
March
February
January
2009
December
November
October
September
August
July
June
May
April
March
February
January
2008
December
November
List overview
Download
sr-dev
October 2020
----- 2025 -----
January 2025
----- 2024 -----
December 2024
November 2024
October 2024
September 2024
August 2024
July 2024
June 2024
May 2024
April 2024
March 2024
February 2024
January 2024
----- 2023 -----
December 2023
November 2023
October 2023
September 2023
August 2023
July 2023
June 2023
May 2023
April 2023
March 2023
February 2023
January 2023
----- 2022 -----
December 2022
November 2022
October 2022
September 2022
August 2022
July 2022
June 2022
May 2022
April 2022
March 2022
February 2022
January 2022
----- 2021 -----
December 2021
November 2021
October 2021
September 2021
August 2021
July 2021
June 2021
May 2021
April 2021
March 2021
February 2021
January 2021
----- 2020 -----
December 2020
November 2020
October 2020
September 2020
August 2020
July 2020
June 2020
May 2020
April 2020
March 2020
February 2020
January 2020
----- 2019 -----
December 2019
November 2019
October 2019
September 2019
August 2019
July 2019
June 2019
May 2019
April 2019
March 2019
February 2019
January 2019
----- 2018 -----
December 2018
November 2018
October 2018
September 2018
August 2018
July 2018
June 2018
May 2018
April 2018
March 2018
February 2018
January 2018
----- 2017 -----
December 2017
November 2017
October 2017
September 2017
August 2017
July 2017
June 2017
May 2017
April 2017
March 2017
February 2017
January 2017
----- 2016 -----
December 2016
November 2016
October 2016
September 2016
August 2016
July 2016
June 2016
May 2016
April 2016
March 2016
February 2016
January 2016
----- 2015 -----
December 2015
November 2015
October 2015
September 2015
August 2015
July 2015
June 2015
May 2015
April 2015
March 2015
February 2015
January 2015
----- 2014 -----
December 2014
November 2014
October 2014
September 2014
August 2014
July 2014
June 2014
May 2014
April 2014
March 2014
February 2014
January 2014
----- 2013 -----
December 2013
November 2013
October 2013
September 2013
August 2013
July 2013
June 2013
May 2013
April 2013
March 2013
February 2013
January 2013
----- 2012 -----
December 2012
November 2012
October 2012
September 2012
August 2012
July 2012
June 2012
May 2012
April 2012
March 2012
February 2012
January 2012
----- 2011 -----
December 2011
November 2011
October 2011
September 2011
August 2011
July 2011
June 2011
May 2011
April 2011
March 2011
February 2011
January 2011
----- 2010 -----
December 2010
November 2010
October 2010
September 2010
August 2010
July 2010
June 2010
May 2010
April 2010
March 2010
February 2010
January 2010
----- 2009 -----
December 2009
November 2009
October 2009
September 2009
August 2009
July 2009
June 2009
May 2009
April 2009
March 2009
February 2009
January 2009
----- 2008 -----
December 2008
November 2008
sr-dev@lists.kamailio.org
19 participants
527 discussions
Start a n
N
ew thread
git:5.2:ba0dedbd: ctl: small spelling fix in comment
by Henning Westerholt
Module: kamailio Branch: 5.2 Commit: ba0dedbd5f719a79633d999696ce7114a78dfd07 URL:
https://github.com/kamailio/kamailio/commit/ba0dedbd5f719a79633d999696ce711…
Author: Henning Westerholt <hw(a)skalatan.de> Committer: Henning Westerholt <hw(a)skalatan.de> Date: 2020-10-02T14:21:12Z ctl: small spelling fix in comment (cherry picked from commit a5722aa7773eb4153e8c3b241cae6e3f5f7a9894) --- Modified: src/modules/ctl/binrpc.h --- Diff:
https://github.com/kamailio/kamailio/commit/ba0dedbd5f719a79633d999696ce711…
Patch:
https://github.com/kamailio/kamailio/commit/ba0dedbd5f719a79633d999696ce711…
--- diff --git a/src/modules/ctl/binrpc.h b/src/modules/ctl/binrpc.h index 56a8e26cd6..1440be7a48 100644 --- a/src/modules/ctl/binrpc.h +++ b/src/modules/ctl/binrpc.h @@ -136,7 +136,7 @@ more bytes available */ #define E_BINRPC_EOP -5 /* end of packet reached */ #define E_BINRPC_NOTINIT -6 /* parse ctx not initialized */ -#define E_BINRPC_TYPE -7 /* unkown type for record, or requested +#define E_BINRPC_TYPE -7 /* unknown type for record, or requested type doesn't match record type */ #define E_BINRPC_RECORD -8 /* bad record (unexpected, bad struct a.s.o)*/ #define E_BINRPC_BUG -9 /* internal error, bug */
4 years, 3 months
1
0
0
0
git:5.2:61255b01: jansson: use the core macros for ending string value with '\0' and to restore
by Henning Westerholt
Module: kamailio Branch: 5.2 Commit: 61255b01f88ea904bf5694f834a5b2aec7398c69 URL:
https://github.com/kamailio/kamailio/commit/61255b01f88ea904bf5694f834a5b2a…
Author: Victor Seva <linuxmaniac(a)torreviejawireless.org> Committer: Henning Westerholt <hw(a)skalatan.de> Date: 2020-10-02T14:21:12Z jansson: use the core macros for ending string value with '\0' and to restore fix #2327 (cherry picked from commit 3abc650d37e426840f060426a851ecac5210d2e5) --- Modified: src/modules/jansson/jansson_funcs.c --- Diff:
https://github.com/kamailio/kamailio/commit/61255b01f88ea904bf5694f834a5b2a…
Patch:
https://github.com/kamailio/kamailio/commit/61255b01f88ea904bf5694f834a5b2a…
--- diff --git a/src/modules/jansson/jansson_funcs.c b/src/modules/jansson/jansson_funcs.c index 7eceae4e96..a5f8b1f6fd 100644 --- a/src/modules/jansson/jansson_funcs.c +++ b/src/modules/jansson/jansson_funcs.c @@ -26,6 +26,7 @@ #include "../../core/mod_fix.h" #include "../../core/lvalue.h" +#include "../../core/str.h" #include "jansson_path.h" #include "jansson_funcs.h" @@ -33,13 +34,13 @@ int janssonmod_get_helper(sip_msg_t* msg, str *path_s, str *src_s, pv_spec_t *dst_pv) { - + char c; pv_value_t dst_val; json_t* json = NULL; json_error_t parsing_error; - + STR_VTOZ(src_s->s[src_s->len], c); json = json_loads(src_s->s, JSON_REJECT_DUPLICATES, &parsing_error); - + STR_ZTOV(src_s->s[src_s->len], c); if(!json) { ERR("failed to parse json: %.*s\n", src_s->len, src_s->s); ERR("json error at line %d, col %d: %s\n", @@ -98,7 +99,7 @@ int janssonmod_set(unsigned int append, struct sip_msg* msg, char* type_in, str type_s; str value_s; str path_s; - + char c; pv_spec_t* result_pv; pv_value_t result_val; @@ -126,14 +127,11 @@ int janssonmod_set(unsigned int append, struct sip_msg* msg, char* type_in, result_val.rs.len = strlen("{}"); } -/* - ALERT("type is: %.*s\n", type_s.len, type_s.s); - ALERT("path is: %.*s\n", path_s.len, path_s.s); - ALERT("value is: %.*s\n", value_s.len, value_s.s); - ALERT("result is: %.*s\n", result_val.rs.len, result_val.rs.s); -*/ - char* result = result_val.rs.s; + LM_DBG("type is: %.*s\n", type_s.len, type_s.s); + LM_DBG("path is: %.*s\n", path_s.len, path_s.s); + LM_DBG("value is: %.*s\n", value_s.len, value_s.s); + LM_DBG("result is: %.*s\n", result_val.rs.len, result_val.rs.s); json_t* result_json = NULL; json_t* value = NULL; @@ -143,14 +141,18 @@ int janssonmod_set(unsigned int append, struct sip_msg* msg, char* type_in, /* check the type */ if(STR_EQ_STATIC(type_s, "object") || STR_EQ_STATIC(type_s, "obj")){ + STR_VTOZ(value_s.s[value_s.len], c); value = json_loads(value_s.s, JSON_REJECT_DUPLICATES, &parsing_error); + STR_ZTOV(value_s.s[value_s.len], c); if(value && !json_is_object(value)) { ERR("value to add is not an object - \"%s\"\n", path_s.s); goto fail; } }else if(STR_EQ_STATIC(type_s, "array")) { + STR_VTOZ(value_s.s[value_s.len], c); value = json_loads(value_s.s, JSON_REJECT_DUPLICATES, &parsing_error); + STR_ZTOV(value_s.s[value_s.len], c); if(value && !json_is_array(value)) { ERR("value to add is not an array - \"%s\"\n", path_s.s); goto fail; @@ -211,9 +213,9 @@ int janssonmod_set(unsigned int append, struct sip_msg* msg, char* type_in, } char* path = path_s.s; - - result_json = json_loads(result, JSON_REJECT_DUPLICATES, &parsing_error); - + STR_VTOZ(result_val.rs.s[result_val.rs.len], c); + result_json = json_loads(result_val.rs.s, JSON_REJECT_DUPLICATES, &parsing_error); + STR_ZTOV(result_val.rs.s[result_val.rs.len], c); if(!result_json) { ERR("result has json error at line %d: %s\n", parsing_error.line, parsing_error.text); @@ -240,6 +242,7 @@ int janssonmod_set(unsigned int append, struct sip_msg* msg, char* type_in, int janssonmod_array_size(struct sip_msg* msg, char* path_in, char* src_in, char* dst) { + char c; str src_s; str path_s; pv_spec_t *dst_pv; @@ -259,9 +262,9 @@ int janssonmod_array_size(struct sip_msg* msg, char* path_in, char* src_in, char json_t* json = NULL; json_error_t parsing_error; - + STR_VTOZ(src_s.s[src_s.len], c); json = json_loads(src_s.s, JSON_REJECT_DUPLICATES, &parsing_error); - + STR_ZTOV(src_s.s[src_s.len], c); if(!json) { ERR("json error at line %d: %s\n", parsing_error.line, parsing_error.text);
4 years, 3 months
1
0
0
0
git:5.3:a5c4f47b: keepalive: logging state of dest just if changed
by Henning Westerholt
Module: kamailio Branch: 5.3 Commit: a5c4f47b30131193439c64738652d454a5b04404 URL:
https://github.com/kamailio/kamailio/commit/a5c4f47b30131193439c64738652d45…
Author: Luis Martin Gil <luismartingil(a)zaleos.net> Committer: Henning Westerholt <hw(a)skalatan.de> Date: 2020-10-02T14:11:46Z keepalive: logging state of dest just if changed (cherry picked from commit 5649a24929ae7bd60154a6c58c772db9e462af27) --- Modified: src/modules/keepalive/keepalive_core.c --- Diff:
https://github.com/kamailio/kamailio/commit/a5c4f47b30131193439c64738652d45…
Patch:
https://github.com/kamailio/kamailio/commit/a5c4f47b30131193439c64738652d45…
--- diff --git a/src/modules/keepalive/keepalive_core.c b/src/modules/keepalive/keepalive_core.c index 8d84e8902f..68a0053d58 100644 --- a/src/modules/keepalive/keepalive_core.c +++ b/src/modules/keepalive/keepalive_core.c @@ -117,7 +117,6 @@ static void ka_options_callback( ka_dest->last_up = time(NULL); } - LM_DBG("new state is: %d\n", state); if(state != ka_dest->state) { ka_run_route(msg, &uri, state_routes[state]); @@ -125,6 +124,7 @@ static void ka_options_callback( ka_dest->statechanged_clb(&ka_dest->uri, state, ka_dest->user_attr); } + LM_DBG("new state is: %d\n", state); ka_dest->state = state; } }
4 years, 3 months
1
0
0
0
git:5.3:70fbe68a: remove unused import
by Henning Westerholt
Module: kamailio Branch: 5.3 Commit: 70fbe68ae37bceedcd22657694eb484d4a636a00 URL:
https://github.com/kamailio/kamailio/commit/70fbe68ae37bceedcd22657694eb484…
Author: tsearle <tsearle(a)gmail.com> Committer: Henning Westerholt <hw(a)skalatan.de> Date: 2020-10-02T14:10:37Z remove unused import (cherry picked from commit 2d2594d3cdeead550ccd472f9d0288b72b98d689) --- Modified: misc/tools/kemi/python_mock/kemi_mock.py --- Diff:
https://github.com/kamailio/kamailio/commit/70fbe68ae37bceedcd22657694eb484…
Patch:
https://github.com/kamailio/kamailio/commit/70fbe68ae37bceedcd22657694eb484…
--- diff --git a/misc/tools/kemi/python_mock/kemi_mock.py b/misc/tools/kemi/python_mock/kemi_mock.py index 4717c5057e..aa96fadfd9 100755 --- a/misc/tools/kemi/python_mock/kemi_mock.py +++ b/misc/tools/kemi/python_mock/kemi_mock.py @@ -6,7 +6,6 @@ import json import sys -import os from collections import defaultdict
4 years, 3 months
1
0
0
0
git:5.3:694b8be0: tools/kemi: add script to generate mock api for kemi python testing
by Henning Westerholt
Module: kamailio Branch: 5.3 Commit: 694b8be0ea20620c1b4ee877cca2e69223f99b95 URL:
https://github.com/kamailio/kamailio/commit/694b8be0ea20620c1b4ee877cca2e69…
Author: Torrey Searle <tsearle(a)voxbone.com> Committer: Henning Westerholt <hw(a)skalatan.de> Date: 2020-10-02T14:09:48Z tools/kemi: add script to generate mock api for kemi python testing (cherry picked from commit f4ec923976cbab5c1451b65268aaca65a33919fd) --- Added: misc/tools/kemi/python_mock/README.md Added: misc/tools/kemi/python_mock/kemi_mock.py Added: misc/tools/kemi/python_mock/test.py --- Diff:
https://github.com/kamailio/kamailio/commit/694b8be0ea20620c1b4ee877cca2e69…
Patch:
https://github.com/kamailio/kamailio/commit/694b8be0ea20620c1b4ee877cca2e69…
4 years, 3 months
1
0
0
0
git:5.2:79efd5a4: modules: readme files regenerated - modules ... [skip ci]
by Kamailio Dev
Module: kamailio Branch: 5.2 Commit: 79efd5a4c7435fce426b219490d7499c501ec6f8 URL:
https://github.com/kamailio/kamailio/commit/79efd5a4c7435fce426b219490d7499…
Author: Kamailio Dev <kamailio.dev(a)kamailio.org> Committer: Kamailio Dev <kamailio.dev(a)kamailio.org> Date: 2020-10-02T16:02:24+02:00 modules: readme files regenerated - modules ... [skip ci] --- Modified: src/modules/carrierroute/README Modified: src/modules/cplc/README Modified: src/modules/db_mongodb/README Modified: src/modules/drouting/README Modified: src/modules/tm/README Modified: src/modules/websocket/README Modified: src/modules/xmpp/README --- Diff:
https://github.com/kamailio/kamailio/commit/79efd5a4c7435fce426b219490d7499…
Patch:
https://github.com/kamailio/kamailio/commit/79efd5a4c7435fce426b219490d7499…
4 years, 3 months
1
0
0
0
git:5.3:042a677d: modules: readme files regenerated - modules ... [skip ci]
by Kamailio Dev
Module: kamailio Branch: 5.3 Commit: 042a677d613c91f0b0ceab4176831ff38ddb9ee5 URL:
https://github.com/kamailio/kamailio/commit/042a677d613c91f0b0ceab4176831ff…
Author: Kamailio Dev <kamailio.dev(a)kamailio.org> Committer: Kamailio Dev <kamailio.dev(a)kamailio.org> Date: 2020-10-02T16:02:03+02:00 modules: readme files regenerated - modules ... [skip ci] --- Modified: src/modules/carrierroute/README Modified: src/modules/cplc/README Modified: src/modules/db_mongodb/README Modified: src/modules/drouting/README Modified: src/modules/tm/README Modified: src/modules/websocket/README Modified: src/modules/xmpp/README --- Diff:
https://github.com/kamailio/kamailio/commit/042a677d613c91f0b0ceab4176831ff…
Patch:
https://github.com/kamailio/kamailio/commit/042a677d613c91f0b0ceab4176831ff…
4 years, 3 months
1
0
0
0
git:5.4:0b923cab: modules: readme files regenerated - modules ... [skip ci]
by Kamailio Dev
Module: kamailio Branch: 5.4 Commit: 0b923cabb82870e5376f79682b90b65e71050249 URL:
https://github.com/kamailio/kamailio/commit/0b923cabb82870e5376f79682b90b65…
Author: Kamailio Dev <kamailio.dev(a)kamailio.org> Committer: Kamailio Dev <kamailio.dev(a)kamailio.org> Date: 2020-10-02T16:01:38+02:00 modules: readme files regenerated - modules ... [skip ci] --- Modified: src/modules/carrierroute/README Modified: src/modules/cplc/README Modified: src/modules/db_mongodb/README Modified: src/modules/drouting/README Modified: src/modules/tm/README Modified: src/modules/websocket/README Modified: src/modules/xmpp/README --- Diff:
https://github.com/kamailio/kamailio/commit/0b923cabb82870e5376f79682b90b65…
Patch:
https://github.com/kamailio/kamailio/commit/0b923cabb82870e5376f79682b90b65…
4 years, 3 months
1
0
0
0
git:master:0dc2fa31: modules: readme files regenerated - carrierroute ... [skip ci]
by Kamailio Dev
Module: kamailio Branch: master Commit: 0dc2fa3168c521fd2828704098b8fbf299db9702 URL:
https://github.com/kamailio/kamailio/commit/0dc2fa3168c521fd2828704098b8fbf…
Author: Kamailio Dev <kamailio.dev(a)kamailio.org> Committer: Kamailio Dev <kamailio.dev(a)kamailio.org> Date: 2020-10-02T16:01:15+02:00 modules: readme files regenerated - carrierroute ... [skip ci] --- Modified: src/modules/carrierroute/README Modified: src/modules/cplc/README Modified: src/modules/db_mongodb/README Modified: src/modules/drouting/README Modified: src/modules/tm/README Modified: src/modules/websocket/README Modified: src/modules/xmpp/README --- Diff:
https://github.com/kamailio/kamailio/commit/0dc2fa3168c521fd2828704098b8fbf…
Patch:
https://github.com/kamailio/kamailio/commit/0dc2fa3168c521fd2828704098b8fbf…
4 years, 3 months
1
0
0
0
git:5.3:bd30d11a: jansson: use the core macros for ending string value with '\0' and to restore
by Henning Westerholt
Module: kamailio Branch: 5.3 Commit: bd30d11a8e96b2c77d5dbd81221eabd0b5e45ef5 URL:
https://github.com/kamailio/kamailio/commit/bd30d11a8e96b2c77d5dbd81221eabd…
Author: Victor Seva <linuxmaniac(a)torreviejawireless.org> Committer: Henning Westerholt <hw(a)skalatan.de> Date: 2020-10-02T13:54:20Z jansson: use the core macros for ending string value with '\0' and to restore fix #2327 (cherry picked from commit 3abc650d37e426840f060426a851ecac5210d2e5) --- Modified: src/modules/jansson/jansson_funcs.c --- Diff:
https://github.com/kamailio/kamailio/commit/bd30d11a8e96b2c77d5dbd81221eabd…
Patch:
https://github.com/kamailio/kamailio/commit/bd30d11a8e96b2c77d5dbd81221eabd…
--- diff --git a/src/modules/jansson/jansson_funcs.c b/src/modules/jansson/jansson_funcs.c index 7eceae4e96..a5f8b1f6fd 100644 --- a/src/modules/jansson/jansson_funcs.c +++ b/src/modules/jansson/jansson_funcs.c @@ -26,6 +26,7 @@ #include "../../core/mod_fix.h" #include "../../core/lvalue.h" +#include "../../core/str.h" #include "jansson_path.h" #include "jansson_funcs.h" @@ -33,13 +34,13 @@ int janssonmod_get_helper(sip_msg_t* msg, str *path_s, str *src_s, pv_spec_t *dst_pv) { - + char c; pv_value_t dst_val; json_t* json = NULL; json_error_t parsing_error; - + STR_VTOZ(src_s->s[src_s->len], c); json = json_loads(src_s->s, JSON_REJECT_DUPLICATES, &parsing_error); - + STR_ZTOV(src_s->s[src_s->len], c); if(!json) { ERR("failed to parse json: %.*s\n", src_s->len, src_s->s); ERR("json error at line %d, col %d: %s\n", @@ -98,7 +99,7 @@ int janssonmod_set(unsigned int append, struct sip_msg* msg, char* type_in, str type_s; str value_s; str path_s; - + char c; pv_spec_t* result_pv; pv_value_t result_val; @@ -126,14 +127,11 @@ int janssonmod_set(unsigned int append, struct sip_msg* msg, char* type_in, result_val.rs.len = strlen("{}"); } -/* - ALERT("type is: %.*s\n", type_s.len, type_s.s); - ALERT("path is: %.*s\n", path_s.len, path_s.s); - ALERT("value is: %.*s\n", value_s.len, value_s.s); - ALERT("result is: %.*s\n", result_val.rs.len, result_val.rs.s); -*/ - char* result = result_val.rs.s; + LM_DBG("type is: %.*s\n", type_s.len, type_s.s); + LM_DBG("path is: %.*s\n", path_s.len, path_s.s); + LM_DBG("value is: %.*s\n", value_s.len, value_s.s); + LM_DBG("result is: %.*s\n", result_val.rs.len, result_val.rs.s); json_t* result_json = NULL; json_t* value = NULL; @@ -143,14 +141,18 @@ int janssonmod_set(unsigned int append, struct sip_msg* msg, char* type_in, /* check the type */ if(STR_EQ_STATIC(type_s, "object") || STR_EQ_STATIC(type_s, "obj")){ + STR_VTOZ(value_s.s[value_s.len], c); value = json_loads(value_s.s, JSON_REJECT_DUPLICATES, &parsing_error); + STR_ZTOV(value_s.s[value_s.len], c); if(value && !json_is_object(value)) { ERR("value to add is not an object - \"%s\"\n", path_s.s); goto fail; } }else if(STR_EQ_STATIC(type_s, "array")) { + STR_VTOZ(value_s.s[value_s.len], c); value = json_loads(value_s.s, JSON_REJECT_DUPLICATES, &parsing_error); + STR_ZTOV(value_s.s[value_s.len], c); if(value && !json_is_array(value)) { ERR("value to add is not an array - \"%s\"\n", path_s.s); goto fail; @@ -211,9 +213,9 @@ int janssonmod_set(unsigned int append, struct sip_msg* msg, char* type_in, } char* path = path_s.s; - - result_json = json_loads(result, JSON_REJECT_DUPLICATES, &parsing_error); - + STR_VTOZ(result_val.rs.s[result_val.rs.len], c); + result_json = json_loads(result_val.rs.s, JSON_REJECT_DUPLICATES, &parsing_error); + STR_ZTOV(result_val.rs.s[result_val.rs.len], c); if(!result_json) { ERR("result has json error at line %d: %s\n", parsing_error.line, parsing_error.text); @@ -240,6 +242,7 @@ int janssonmod_set(unsigned int append, struct sip_msg* msg, char* type_in, int janssonmod_array_size(struct sip_msg* msg, char* path_in, char* src_in, char* dst) { + char c; str src_s; str path_s; pv_spec_t *dst_pv; @@ -259,9 +262,9 @@ int janssonmod_array_size(struct sip_msg* msg, char* path_in, char* src_in, char json_t* json = NULL; json_error_t parsing_error; - + STR_VTOZ(src_s.s[src_s.len], c); json = json_loads(src_s.s, JSON_REJECT_DUPLICATES, &parsing_error); - + STR_ZTOV(src_s.s[src_s.len], c); if(!json) { ERR("json error at line %d: %s\n", parsing_error.line, parsing_error.text);
4 years, 3 months
1
0
0
0
← Newer
1
...
43
44
45
46
47
48
49
...
53
Older →
Jump to page:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
Results per page:
10
25
50
100
200