Changeset 926 for trunk/zoo-project/zoo-kernel/zoo_service_loader.c
- Timestamp:
- May 28, 2019, 11:33:18 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/zoo-project/zoo-kernel/zoo_service_loader.c
r921 r926 1240 1240 }else{ 1241 1241 checkValidValue(request_inputs,&err,"AcceptVersions",(const char**)vvv,-1); 1242 map* tmpMap=getMapFromMaps(m,"main","version"); 1243 if(tmpMap!=NULL){ 1244 setMapInMaps(m,"main","rversion",tmpMap->value); 1245 addToMap(request_inputs,"version",tmpMap->value); 1246 }else{ 1247 setMapInMaps(m,"main","rversion","1.0.0"); 1248 addToMap(request_inputs,"version","1.0.0"); 1249 } 1242 1250 map* version1=getMap(request_inputs,"AcceptVersions"); 1243 1251 if(version1!=NULL){ … … 1247 1255 addToMap(request_inputs,"version",version1->value); 1248 1256 version=getMap(request_inputs,"version"); 1249 setMapInMaps(m,"main","rversion",version->value);1250 vid=getVersionId(version->value);1251 1257 } 1252 1258 }
Note: See TracChangeset
for help on using the changeset viewer.