Changeset 93 for trunk/zoo-kernel


Ignore:
Timestamp:
Jan 28, 2011, 7:09:20 PM (14 years ago)
Author:
djay
Message:

Small fix for reference input download and for setting value to input only.

Location:
trunk/zoo-kernel
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/zoo-kernel/service_conf.y

    r92 r93  
    472472    fprintf(stderr,"EPAIR FOUND !! \n");
    473473    fprintf(stderr,"[%s=>%s]\n",curr_key,$1);
    474     fprintf(stderr,"[ZOO: service_conf.y line 482 free(%s)]\n",curr_key);
     474    fprintf(stderr,"[ZOO: service_conf.y line %d free(%s)]\n",__LINE__,curr_key);
    475475    dumpMap(current_content);
    476476    fflush(stderr);
     
    478478  if(current_content==NULL){
    479479#ifdef DEBUG_SERVICE_CONF
    480     fprintf(stderr,"[ZOO: service_conf.y line 482 free(%s)]\n",curr_key);
     480    fprintf(stderr,"[ZOO: service_conf.y line %d free(%s)]\n",__LINE__,curr_key);
    481481#endif
    482482    current_content=createMap(curr_key,$1);
    483483#ifdef DEBUG_SERVICE_CONF
    484     fprintf(stderr,"[ZOO: service_conf.y line 482 free(%s)]\n",curr_key);
     484    fprintf(stderr,"[ZOO: service_conf.y line %d free(%s)]\n",__LINE__,curr_key);
    485485#endif
    486486    //current_content->next=NULL;
     
    499499  fprintf(stderr,"EPAIR FOUND !! \n");
    500500  fprintf(stderr,"[%s=>%s]\n",curr_key,$1);
    501   fprintf(stderr,"[ZOO: service_conf.y line 505 free(%s)]\n",curr_key);
     501  fprintf(stderr,"[ZOO: service_conf.y line %d free(%s)]\n",__LINE__,curr_key);
    502502  fflush(stderr);
    503503#endif
  • trunk/zoo-kernel/service_internal.c

    r92 r93  
    18591859      }
    18601860      addToMap(tmpMaps2->content,"inRequest","false");
    1861       if(type==1){
     1861      if(type==0){
    18621862        map *tmpMap=getMap(tmpMaps2->content,"value");
    18631863        if(tmpMap==NULL)
  • trunk/zoo-kernel/ulinet.c

    r43 r93  
    3333  size_t realsize = size * nmemb;
    3434  HINTERNET *psInternet;
    35   if(buffer==NULL || strlen((char*)buffer)==0){
     35  if(buffer==NULL){
    3636    buffer=NULL;
    3737    return -1;
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