Ignore:
Timestamp:
Feb 25, 2018, 3:06:51 PM (6 years ago)
Author:
djay
Message:

Fix issue #163 and add support for extra cookie through definition of ecookie array map and the corresponding ecookie_lenght. This give the capability to return more than only a single Cookie.

File:
1 edited

Legend:

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

    r865 r867  
    8181 */
    8282int getPublishedId(maps* elem){
    83   map* myIndex=getMap(elem->content,"published_id");
    84   if(myIndex!=NULL){
    85     return atoi(myIndex->value);
     83  if(elem!=NULL && elem->content!=NULL){
     84    map* myIndex=getMap(elem->content,"published_id");
     85    if(myIndex!=NULL){
     86      return atoi(myIndex->value);
     87    }
    8688  }
    8789  return 0;
    8890}
     91
    8992/**
    9093 * Add width and height keys to an output maps containing the maximum width
     
    243246  else
    244247    sprintf(layers,options[proto][3],layerName->value);
    245  
     248
    246249  if(format==NULL || width==NULL || height==NULL || extent==NULL){
    247250    char tmpStr[1024];
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