- Timestamp:
- Aug 7, 2017, 2:56:24 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/prototype-v0/zoo-project/zoo-kernel/server_internal.c
r822 r839 597 597 setMapArray(res,"value",nb,out1->name); 598 598 } 599 600 599 nb++; 601 600 result=out1->name; … … 806 805 */ 807 806 if(tmpIoType!=NULL){ 808 map* tmpCheck=getMap(tmpIoType->content,"useMap Server");809 if(tmpCheck!=NULL ){807 map* tmpCheck=getMap(tmpIoType->content,"useMapserver"); 808 if(tmpCheck!=NULL && strncasecmp(tmpCheck->value,"true",4)==0){ 810 809 // Get the default value 811 810 tmpIoType=getIoTypeFromElement(tmpInputs,tmpInputs->name,NULL); … … 841 840 } 842 841 } 843 /*if(tmpInputs->child!=NULL){842 if(tmpInputs->child!=NULL){ 844 843 tmpInputss=tmpInputs->next; 845 844 tmpInputs=tmpInputs->child; … … 848 847 out1s=tmpMaps; 849 848 } 850 }else*/851 849 } 850 tmpInputs=tmpInputs->next; 852 851 } 853 852 if(tmpInputss!=NULL){ … … 980 979 if(isRunning(conf,pid)>0){ 981 980 if(strncasecmp(req,"GetResult",strlen(req))==0){ 982 errorException (conf, _("The result for the requested JobID has not yet been generated. "),981 errorException (conf, _("The result for the requested JobID has not yet been generated. (1)"), 983 982 "ResultNotReady", pid); 984 983 return; … … 1012 1011 return; 1013 1012 }else{ 1014 errorException (conf, _("The result for the requested JobID has not yet been generated. "),1013 errorException (conf, _("The result for the requested JobID has not yet been generated. (2)"), 1015 1014 "ResultNotReady", pid); 1016 1015 freeMap(&statusInfo); … … 1034 1033 } 1035 1034 } 1035 free(sid); 1036 1036 printStatusInfo(conf,statusInfo,req); 1037 1037 freeMap(&statusInfo);
Note: See TracChangeset
for help on using the changeset viewer.