- Timestamp:
- Feb 1, 2018, 11:27:28 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/prototype-v0/zoo-project/zoo-kernel/response_print.c
r860 r862 2562 2562 xmlNodePtr txt=xmlNewText(BAD_CAST tmp->value); 2563 2563 xmlAddChild(nc1,txt); 2564 if(cnt==0) 2565 setMapInMaps(m,"lenv","message",tmp->value); 2564 2566 } 2565 2567 else{ … … 2718 2720 toto=getMap(tmpI->content,"asReference"); 2719 2721 #ifdef USE_MS 2720 restartNoMS:2721 2722 map* geodatatype=getMap(tmpI->content,"geodatatype"); 2722 2723 2723 if(toto!=NULL && strcasecmp(toto->value,"true")==0 && 2724 2724 (testMap==NULL || … … 2749 2749 map *ext=getMap(tmpI->content,"extension"); 2750 2750 char file_ext[32]; 2751 2751 2752 2752 if( ext != NULL && ext->value != NULL) { 2753 2753 strncpy(file_ext, ext->value, 32); … … 2812 2812 } 2813 2813 addToMap(tmpI->content,"Reference",file_url); 2814 /*maps* curs=tmpI;2815 curs=curs->next;2816 map* test=getMap(tmpI->content,"replicateStorageNext");2817 if(test!=NULL && strncasecmp(test->value,"true",4)==0)2818 while(curs!=NULL){2819 addToMap(curs->content,"storage",file_path);2820 curs=curs->next;2821 }2822 if(file_path!=NULL)2823 free(file_path);*/2824 2814 if(file_name!=NULL) 2825 2815 free(file_name); … … 2830 2820 #ifdef USE_MS 2831 2821 else{ 2832 if(testMap!=NULL){2833 setMapInMaps(m,"lenv","state","out");2834 setReferenceUrl(m,tmpI);2835 geodatatype=getMap(tmpI->content,"geodatatype");2836 if(geodatatype!=NULL && strcasecmp(geodatatype->value,"other")==0)2837 goto restartNoMS;2838 }2839 2822 if(testMap!=NULL){ 2823 setMapInMaps(m,"lenv","state","out"); 2824 setReferenceUrl(m,tmpI); 2825 geodatatype=getMap(tmpI->content,"geodatatype"); 2826 if(geodatatype!=NULL && strcasecmp(geodatatype->value,"other")==0) 2827 res=SERVICE_FAILED; 2828 } 2829 } 2840 2830 #endif 2841 2831 if(file_name!=NULL){
Note: See TracChangeset
for help on using the changeset viewer.