Changeset 939 for trunk/zoo-project/zoo-kernel/request_parser.c
- Timestamp:
- Jun 14, 2019, 10:08:22 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/zoo-project/zoo-kernel/request_parser.c
r938 r939 1070 1070 buffersize); 1071 1071 } 1072 else if (cur5 != NULL)/* 1073 && cur5->type == XML_CDATA_SECTION_NODE)*/{ 1074 while(cur5!=NULL && cur5->type != XML_CDATA_SECTION_NODE) 1075 cur5=cur5->next; 1076 xmlFree(mv); 1077 if(cur5!=NULL && cur5->content!=NULL){ 1078 mv=xmlStrdup(cur5->content); 1079 } 1072 else if (cur5 != NULL){ 1073 if(ltmp!= NULL && strstr(ltmp->value,"text/")!=NULL){ 1074 xmlChar *tmp = xmlNodeListGetRawString (doc, 1075 cur4->xmlChildrenNode, 1076 0); 1077 addToMap (tmpmaps->content, "value", 1078 (char *) tmp); 1079 xmlFree (tmp); 1080 }else{ 1081 while(cur5!=NULL && cur5->type != XML_CDATA_SECTION_NODE) 1082 cur5=cur5->next; 1083 xmlFree(mv); 1084 if(cur5!=NULL && cur5->content!=NULL){ 1085 mv=xmlStrdup(cur5->content); 1086 } 1087 } 1080 1088 } 1081 1089 } … … 1861 1869 if (r_inputs == NULL){ 1862 1870 if(mandatory>0){ 1863 c har *replace=_("Mandatory parameter <%s> was not specified");1871 const char *replace=_("Mandatory parameter <%s> was not specified"); 1864 1872 char *message=(char*)malloc((strlen(replace)+strlen(toCheck)+1)*sizeof(char)); 1865 1873 sprintf(message,replace,toCheck); … … 1910 1918 } 1911 1919 if(hasValidValue<0){ 1912 c har *replace=_("The value <%s> was not recognized, %s %s the only acceptable value.");1920 const char *replace=_("The value <%s> was not recognized, %s %s the only acceptable value."); 1913 1921 nb=0; 1914 1922 char *vvalues=NULL;
Note: See TracChangeset
for help on using the changeset viewer.