Ignore:
Timestamp:
Jan 10, 2013, 3:39:16 AM (11 years ago)
Author:
djay
Message:

Add QREncode service. Fix memory leaks. Avoid printing anything from the conf_read function to be able to detect and return valid headers.

File:
1 edited

Legend:

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

    r384 r385  
    17461746      printf("Content-Type: text/xml; charset=%s\r\nStatus: 200 OK\r\n\r\n",encoding);
    17471747    }
    1748   }else
     1748  }else{
    17491749    printf("Content-Type: text/xml; charset=%s\r\nStatus: 200 OK\r\n\r\n",encoding);
     1750  }
    17501751  n=createExceptionReportNode(m,s,1);
    17511752  xmlDocSetRootElement(doc, n);
     
    20162017        printf("%s",mime);
    20172018        if(rs!=NULL)
    2018           fwrite(toto->value,atoi(rs->value),1,stdout);
     2019          fwrite(toto->value,1,atoi(rs->value),stdout);
    20192020        else
    2020           fwrite(toto->value,strlen(toto->value),1,stdout);
     2021          fwrite(toto->value,1,strlen(toto->value),stdout);
    20212022#ifdef DEBUG
    20222023        dumpMap(toto);
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