Changeset 836 for trunk/zoo-project


Ignore:
Timestamp:
Aug 3, 2017, 8:52:55 PM (7 years ago)
Author:
jmckenna
Message:

properly initialize constant on Windows (ticket#159)

File:
1 edited

Legend:

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

    r802 r836  
    17411741  if (r_inputs == NULL){
    17421742    if(mandatory>0){
    1743       char *replace=_("Mandatory parameter <%s> was not specified");
     1743      const char *replace=_("Mandatory parameter <%s> was not specified");
    17441744      char *message=(char*)malloc((strlen(replace)+strlen(toCheck)+1)*sizeof(char));
    17451745      sprintf(message,replace,toCheck);
     
    17901790    }
    17911791    if(hasValidValue<0){
    1792       char *replace=_("The value <%s> was not recognized, %s %s the only acceptable value.");
     1792      const char *replace=_("The value <%s> was not recognized, %s %s the only acceptable value.");
    17931793      nb=0;
    17941794      char *vvalues=NULL;
    1795       char* num=_("is");
     1795      const char* num=_("is");
    17961796      while(avalues[nb]!=NULL){
    17971797        char *tvalues;
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