Selaa lähdekoodia

lost: removed use of deprecated xmlKeepBlanksDefault()

- XML_PARSE_NOBLANKS seems to be used, which is suggested in deprecation
  message
- GH #4038

(cherry picked from commit 784f55cdb31de9eda6971e04ee12c2cb88556835)
Daniel-Constantin Mierla 9 kuukautta sitten
vanhempi
commit
871dc9bbc1
1 muutettua tiedostoa jossa 0 lisäystä ja 4 poistoa
  1. 0 4
      src/modules/lost/utilities.c

+ 0 - 4
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;
 
 	/*