Ignore:
Timestamp:
Apr 9, 2015, 6:33:14 PM (9 years ago)
Author:
djay
Message:

Fix issue when adding map with size in a map array.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/zoo-project/zoo-kernel/service_internal_python.c

    r581 r623  
    581581#endif
    582582   
    583     if(strcmp(PyString_AsString(key),"value")==0){
     583    if(strncmp(PyString_AsString(key),"value",5)==0){
    584584      char *buffer=NULL;
    585585      Py_ssize_t size;
     
    589589      PyString_AsStringAndSize(value,&buffer,&size);
    590590#endif
    591       addToMapWithSize(res,"value",buffer,size);
     591      addToMapWithSize(res,PyString_AsString(key),buffer,size);
    592592    }else{
    593593      char* lkey=PyString_AsString(key);
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