- Timestamp:
- Jun 14, 2019, 11:05:08 PM (5 years ago)
- Location:
- branches/branch-1.7
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/branch-1.7
-
branches/branch-1.7/zoo-project/zoo-kernel/request_parser.c
r917 r942 1070 1070 buffersize); 1071 1071 } 1072 else if (cur5 != NULL)/* 1073 && cur5->type == XML_CDATA_SECTION_NODE)*/{ 1074 xmlFree(mv); 1075 if(cur5->content!=NULL){ 1076 mv=xmlStrdup(cur5->content); 1077 } 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 } 1078 1088 } 1079 1089 } … … 1859 1869 if (r_inputs == NULL){ 1860 1870 if(mandatory>0){ 1861 c har *replace=_("Mandatory parameter <%s> was not specified");1871 const char *replace=_("Mandatory parameter <%s> was not specified"); 1862 1872 char *message=(char*)malloc((strlen(replace)+strlen(toCheck)+1)*sizeof(char)); 1863 1873 sprintf(message,replace,toCheck); … … 1908 1918 } 1909 1919 if(hasValidValue<0){ 1910 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."); 1911 1921 nb=0; 1912 1922 char *vvalues=NULL; 1913 c har* num=_("is");1923 const char* num=_("is"); 1914 1924 while(avalues[nb]!=NULL){ 1915 1925 char *tvalues;
Note: See TracChangeset
for help on using the changeset viewer.