Module: kamailio Branch: master Commit: 784f55cdb31de9eda6971e04ee12c2cb88556835 URL: https://github.com/kamailio/kamailio/commit/784f55cdb31de9eda6971e04ee12c2cb...
Author: Daniel-Constantin Mierla miconda@gmail.com Committer: Daniel-Constantin Mierla miconda@gmail.com Date: 2024-11-29T09:33:58+01:00
lost: removed use of deprecated xmlKeepBlanksDefault()
- XML_PARSE_NOBLANKS seems to be used, which is suggested in deprecation message - GH #4038
---
Modified: src/modules/lost/utilities.c
---
Diff: https://github.com/kamailio/kamailio/commit/784f55cdb31de9eda6971e04ee12c2cb... Patch: https://github.com/kamailio/kamailio/commit/784f55cdb31de9eda6971e04ee12c2cb...
---
diff --git a/src/modules/lost/utilities.c b/src/modules/lost/utilities.c index 282bb27a57d..5035185efc1 100644 --- a/src/modules/lost/utilities.c +++ b/src/modules/lost/utilities.c @@ -1419,7 +1419,6 @@ char *lost_held_post_request(int *lgth, long rtime, char *type) xmlNodePtr ptrLocationRequest = NULL; xmlNodePtr ptrLocationType = NULL;
- xmlKeepBlanksDefault(1); *lgth = 0;
/* @@ -1517,7 +1516,6 @@ char *lost_held_location_request(p_lost_held_t held, int *lgth) xmlNodePtr ptrLocationType = NULL; xmlNodePtr ptrDevice = NULL;
- xmlKeepBlanksDefault(1); *lgth = 0;
/* @@ -1670,8 +1668,6 @@ char *lost_find_service_request(p_lost_loc_t loc, p_lost_list_t path, int *lgth) xmlNodePtr ptrNode = NULL; xmlNodePtr ptrPath = NULL;
- xmlKeepBlanksDefault(1); - *lgth = 0;
/*