Changeset 837 for trunk


Ignore:
Timestamp:
Aug 3, 2017, 8:58:22 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/caching.c

    r817 r837  
    233233        memcpy(tmpMap->value,fcontent,(fsize+1)*sizeof(char));
    234234        if(hInternet->ihandle[*index].code!=200){
    235           char *error_rep_str=_("Unable to download the file for the input <%s>, response code was : %d.");
     235          const char *error_rep_str=_("Unable to download the file for the input <%s>, response code was : %d.");
    236236          char *error_msg=(char*)malloc((strlen(error_rep_str)+strlen(content->name)+4)*sizeof(char));
    237237          sprintf(error_msg,error_rep_str,content->name,hInternet->ihandle[*index].code);
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