Changeset 19 for trunk/zoo-kernel


Ignore:
Timestamp:
Sep 16, 2010, 10:03:23 PM (14 years ago)
Author:
djay
Message:

Small fix zoo_loader.c to remove debug string which can cause trouble.

Location:
trunk/zoo-kernel
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/zoo-kernel/zoo_loader.c

    r10 r19  
    102102#endif
    103103 
    104   /**
    105    * Read the main configuration file
    106   if(!isStarted){
    107     maps* m;
    108     m=(maps*)malloc(sizeof(maps*)); 
    109     conf_read("main.cfg",m);
    110 #ifdef REAL_FCGI
    111 #ifdef DEBUG
    112     printf("ok passed");
    113 #endif   
    114 #endif   
    115     isStarted=TRUE;
    116   }
    117    */
    118 
    119104#ifdef DEBUG
    120105  fprintf (stderr, "Addr:%s\n", cgiRemoteAddr);
     
    132117    }else{
    133118      /* Here we have to return an error message ... */
    134       fprintf(stderr, "Unable to read cgi content in zoo_loader.c line %i\n", __LINE__);     
     119      fprintf(stderr, "Unable to read cgi content in zoo_loader.c line %i\n", __LINE__);
    135120      return 1;
    136121    }
     
    164149   * one.
    165150   */
    166   fprintf(stderr,"%i %i",tmpMap->value[0],'<');
    167151  if(strncasecmp(cgiRequestMethod,"post",4)==0 ||
    168152     (count(tmpMap)==1 && strncmp(tmpMap->value,"<",1)==0)){
     
    171155     * (which should be always available in GET params so in cgiQueryString)
    172156     */
    173     //char *saveptr1, *saveptr2;
    174     char *str1/*, str2, *token, *subtoken*/;
     157    char *str1;
    175158    str1=cgiQueryString;
    176159    /**
  • trunk/zoo-kernel/zoo_service_loader.c

    r14 r19  
    173173    freeMaps(&m);
    174174    free(m);
    175     freeMap(&request_inputs);
    176     free(request_inputs);
    177175    return 1;
    178176  }
     
    185183      freeMaps(&m);
    186184      free(m);
    187       freeMap(&request_inputs);
    188       free(request_inputs);
    189185      free(REQUEST);
    190186      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