- Timestamp:
- May 3, 2017, 12:53:06 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/prototype-v0/zoo-project/zoo-kernel/server_internal.c
r821 r822 368 368 FILE * file=fopen(filename,"rb"); 369 369 if(file==NULL){ 370 fprintf(stderr,"Failed to open file %s for reading purpose.\n",filename);371 370 setMapInMaps(m,"lenv","message","Unable to read produced file. Please try again later"); 372 371 return ; … … 598 597 setMapArray(res,"value",nb,out1->name); 599 598 } 599 600 600 nb++; 601 601 result=out1->name; … … 701 701 } 702 702 } 703 else {703 else /*toto*/{ 704 704 iotype* tmpIoType=NULL; 705 705 if(tmpMaps->content!=NULL){ … … 834 834 addToMap(tmpMaps->content,"inRequest","true"); 835 835 elements* tmpElements=getElements(in,tmpMaps->name); 836 if( tmpElements!=NULL && tmpElements->child!=NULL){836 if(/*tmpMaps->child!=NULL && */tmpElements!=NULL && tmpElements->child!=NULL){ 837 837 char *res=addDefaultValues(&tmpMaps->child,tmpElements->child,m,type,err); 838 838 if(strlen(res)>0){ … … 841 841 } 842 842 } 843 tmpInputs=tmpInputs->next; 843 /*if(tmpInputs->child!=NULL){ 844 tmpInputss=tmpInputs->next; 845 tmpInputs=tmpInputs->child; 846 if(tmpMaps!=NULL){ 847 out1=tmpMaps->child; 848 out1s=tmpMaps; 849 } 850 }else*/ 851 tmpInputs=tmpInputs->next; 844 852 } 845 853 if(tmpInputss!=NULL){
Note: See TracChangeset
for help on using the changeset viewer.