Ignore:
Timestamp:
May 31, 2019, 3:03:21 PM (5 years ago)
Author:
knut
Message:

Resolve certain string-related type conflicts, e.g., char* vs. const char* or char[N], that may cause errors in some build environments. Resolve a problem with the include order of fcgi_stdio.h (note: should verify that this harmonizes with resolution of same problem in trunk).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/prototype-v0/zoo-project/zoo-kernel/service_internal_ms.c

    r898 r933  
    12881288   * First store the value on disk
    12891289   */
     1290  static char DATA[] = "data";
     1291  static char JSON[] = "json";
    12901292  int imyIndex=getPublishedId(outputs);
    12911293  map* mime=getMapArray(outputs->content,"mimeType",imyIndex);
    12921294  map* msUrl=getMapFromMaps(conf,"main","mapserverAddress");
    12931295  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;
    12981300
    12991301  map* storage=getMapArray(outputs->content,"storage",imyIndex);
Note: See TracChangeset for help on using the changeset viewer.

Search

Context Navigation

ZOO Sponsors

http://www.zoo-project.org/trac/chrome/site/img/geolabs-logo.pnghttp://www.zoo-project.org/trac/chrome/site/img/neogeo-logo.png http://www.zoo-project.org/trac/chrome/site/img/apptech-logo.png http://www.zoo-project.org/trac/chrome/site/img/3liz-logo.png http://www.zoo-project.org/trac/chrome/site/img/gateway-logo.png

Become a sponsor !

Knowledge partners

http://www.zoo-project.org/trac/chrome/site/img/ocu-logo.png http://www.zoo-project.org/trac/chrome/site/img/gucas-logo.png http://www.zoo-project.org/trac/chrome/site/img/polimi-logo.png http://www.zoo-project.org/trac/chrome/site/img/fem-logo.png http://www.zoo-project.org/trac/chrome/site/img/supsi-logo.png http://www.zoo-project.org/trac/chrome/site/img/cumtb-logo.png

Become a knowledge partner

Related links

http://zoo-project.org/img/ogclogo.png http://zoo-project.org/img/osgeologo.png