~ubuntu-branches/ubuntu/saucy/libhtp/saucy

« back to all changes in this revision

Viewing changes to htp/htp_request_parsers.c

  • Committer: Bazaar Package Importer
  • Author(s): Pierre Chifflier
  • Date: 2011-05-23 21:54:41 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20110523215441-z2acyhztzpxo6h0p
Tags: 0.2.5-1
* Imported Upstream version 0.2.5
* Bump Standards Version to 3.9.2
* Do not ship .la files (Closes: #621654)

Show diffs side-by-side

added added

removed removed

Lines of Context:
99
99
    htp_header_t *h = calloc(1, sizeof (htp_header_t));
100
100
    if (h == NULL) return NULL;
101
101
 
102
 
    // Parse the header line
 
102
    // Parse the header line    
103
103
    if (reqp->impl_header_parse(data, len, h) < 0) {
104
104
        // Invalid header line
105
105
        h->is_parsed = 0;