- Timestamp:
- Dec 16, 2010, 2:37:45 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/zoo-kernel/service_internal.c
r43 r52 1493 1493 if(toto!=NULL && strcasecmp(toto->value,"true")==0){ 1494 1494 toto=getMap(request_outputs->content,"extension"); 1495 /* put gml extension if the extension is defined as .js and the result will be a gml file */ 1496 map* mtype=getMap(request_outputs->content,"mimeType"); 1497 if (strcasecmp(toto->value,"js")==0 && strcasecmp(mtype->value,"text/xml")==0) { 1498 toto->value="gml"; 1499 } 1495 1500 map *tmp1=getMapFromMaps(m,"main","tmpPath"); 1496 1501 char *file_name=(char*)malloc((strlen(tmp1->value)+strlen(s->name)+strlen(toto->value)+13)*sizeof(char));
Note: See TracChangeset
for help on using the changeset viewer.