Ignore:
Timestamp:
Jul 13, 2015, 3:42:39 PM (9 years ago)
Author:
knut
Message:

Redefined the API function addToMapWithSize to fix problem with Python/PHP support. Added some variable initializations and NULL pointer checks.

File:
1 edited

Legend:

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

    r730 r738  
    189189  sprintf (fbkpid, "%s/%s.status", r_inputs->value, lid);
    190190  FILE* f0 = fopen (fbkpid, "r");
    191   if(f0!=NULL){
    192     semid lockid;
     191  if(f0!=NULL){   
     192    semid lockid = NULL;
    193193    char* stat;
    194194    long flen;
     
    270270  if(status!=NULL && msg!=NULL &&
    271271     status->value!=NULL && msg->value!=NULL &&
    272      strlen(status->value)>0 && strlen(msg->value)>1){
    273     semid lockid;
     272     strlen(status->value)>0 && strlen(msg->value)>1){   
     273    semid lockid = NULL;
    274274    char* stat=getStatusId(conf,sid->value);
    275275    if(stat!=NULL){
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