Changeset 19 for trunk


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
Files:
6 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;
  • trunk/zoo-services/ogr/base-vect-ops/cgi-env/Buffer.zcfg

    r9 r19  
    2828    </Default>
    2929    <Supported>
    30      mimeType = aplication/json
     30     mimeType = application/json
    3131     encoding = UTF-8
    3232    </Supported>
  • trunk/zoo-services/ogr/base-vect-ops/cgi-env/Difference.zcfg

    r9 r19  
    4343    <Default>
    4444     mimeType = text/xml
     45     encoding = UTF-8
    4546     schema = http://fooa/gml/3.1.0/polygon.xsd
    46      encoding = UTF-8
    4747    </Default>
    4848    <Supported>
     
    6868     <Supported>
    6969      mimeType = text/xml
     70      encoding = UTF-8
    7071      schema = http://fooa/gml/3.1.0/polygon.xsd
    71       encoding = UTF-8
    7272      extension = xml
    7373     </Supported>
  • trunk/zoo-services/ogr/base-vect-ops/cgi-env/Intersection.zcfg

    r9 r19  
    6868     <Supported>
    6969      mimeType = text/xml
     70      encoding = UTF-8
    7071      schema = http://fooa/gml/3.1.0/polygon.xsd
    71       encoding = UTF-8
    7272      extension = xml
    7373     </Supported>
  • trunk/zoo-services/ogr/base-vect-ops/cgi-env/Union.zcfg

    r9 r19  
    5959   <MetaData lang="en">
    6060    title = Mon test 
    61    </MetaData>   
     61   </MetaData>
    6262    <ComplexData>
    6363     <Default>
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