Changeset 365


Ignore:
Timestamp:
Sep 29, 2012, 6:37:12 PM (12 years ago)
Author:
djay
Message:

Fix issue to compile on Linux platforms after the previous update, fix issue when @ is present in the value of a DataInputs?.

Location:
trunk/zoo-project/zoo-kernel
Files:
2 edited

Legend:

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

    r364 r365  
    2626#ifdef USE_MS
    2727#include "service_internal_ms.h"
     28#endif
     29
     30#ifndef TRUE
     31#define TRUE 1
     32#endif
     33#ifndef FALSE
     34#define FALSE -1
    2835#endif
    2936
  • trunk/zoo-project/zoo-kernel/zoo_service_loader.c

    r364 r365  
    11001100            tmpn1[strlen(tmpc)]=0;
    11011101            map* lmap=getLastMap(tmpmaps->content);
    1102             char *tmpValue=(char*)calloc((strlen(lmap->value)+strlen(tmpc)+1),sizeof(char));
    1103             sprintf(tmpValue,"%s@%s",lmap->value,tmpc);
     1102            char *tmpValue=(char*)calloc((strlen(tmpv)+strlen(tmpc)+1),sizeof(char));
     1103            sprintf(tmpValue,"%s@%s",tmpv+1,tmpc);
    11041104            free(lmap->value);
    11051105            lmap->value=strdup(tmpValue);
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