- Timestamp:
- May 31, 2019, 3:03:21 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/prototype-v0/zoo-project/zoo-kernel/service_internal_ms.c
r898 r933 1288 1288 * First store the value on disk 1289 1289 */ 1290 static char DATA[] = "data"; 1291 static char JSON[] = "json"; 1290 1292 int imyIndex=getPublishedId(outputs); 1291 1293 map* mime=getMapArray(outputs->content,"mimeType",imyIndex); 1292 1294 map* msUrl=getMapFromMaps(conf,"main","mapserverAddress"); 1293 1295 map* dataPath=getMapFromMaps(conf,"main","dataPath"); 1294 char *ext ="data";1295 if (mime!=NULL)1296 if (strncasecmp(mime->value,"application/json",16)==0)1297 ext ="json";1296 char *ext = DATA; 1297 if (mime != NULL) 1298 if (strncasecmp(mime->value, "application/json", 16) == 0) 1299 ext = JSON; 1298 1300 1299 1301 map* storage=getMapArray(outputs->content,"storage",imyIndex);
Note: See TracChangeset
for help on using the changeset viewer.