Ignore:
Timestamp:
Apr 28, 2017, 6:00:52 PM (4 years ago)
Author:
djay
Message:

Fix issue with nested inputs initialization. Fix issue when returning nested outputs. Fix issue with ulinet.c for building the ZOO-Kernel (thanks to Niroshan Sanjaya and Julien Abt for reporting the issue).

File:
1 edited

Legend:

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

    r817 r820  
    191191 * @param proto the protocol requiring the use of a proxy
    192192 */
    193 bool setProxiesForProtcol(CURL* handle,const char *proto){
     193int setProxiesForProtcol(CURL* handle,const char *proto){
    194194#ifdef MSG_LAF_VERBOSE
    195195  fprintf( stderr, "setProxiesForProtocol (do nothing) ...\n" );
    196196#endif
    197   return true;
     197  return 0;
    198198}
    199199#endif
     
    284284    char *token, *saveptr;
    285285    token = strtok_r (tmp, ",", &saveptr);
    286     for(int i=0;i<handle->nb;i++){
     286    int i;
     287    for(i=0;i<handle->nb;i++){
    287288      if(targetHosts->value[0]=='*' || isProtectedHost(targetHosts->value,handle->ihandle[i].url)==1){
    288289        while (token != NULL){
     
    290291          char* tmp1=(char*)malloc(length*sizeof(char));
    291292          snprintf(tmp1,6,"HTTP_");
    292           for(int i=0;token[i]!='\0';i++){
    293             if(token[i]!='-')
    294               tmp1[5+i]=toupper(token[i]);
     293          int j;
     294          for(j=0;token[j]!='\0';j++){
     295            if(token[j]!='-')
     296              tmp1[5+j]=toupper(token[i]);
    295297            else
    296               tmp1[5+i]='_';
    297             tmp1[5+i+1]='\0';
     298              tmp1[5+j]='_';
     299            tmp1[5+j+1]='\0';
    298300          }
    299301          fprintf(stderr,"%s %d %s \n",__FILE__,__LINE__,tmp1);
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