~ubuntu-branches/ubuntu/lucid/squid/lucid-201002101821

« back to all changes in this revision

Viewing changes to src/HttpHeader.c

  • Committer: Bazaar Package Importer
  • Author(s): Pedro Fragoso
  • Date: 2008-01-11 21:47:16 UTC
  • mfrom: (1.1.11 upstream)
  • Revision ID: james.westby@ubuntu.com-20080111214716-rf21i8x0l22x9vqt
Tags: 2.6.18-1ubuntu1
* Merge from Debian unstable (LP:# 182624), Ubuntu remaining changes:
  - 99-ubuntu-ssl-cert-snakeoil:
    + src/cf.data.pre:
      * Add reference to snakeoil certificates in /etc/ssl
  - debian/control:
    + Add ssl-cert to Depends: to bring in snakeoil certificates.
* Modify Maintainer value to match Debian-Maintainer-Field Spec

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
 
2
2
/*
3
 
 * $Id: HttpHeader.c,v 1.91.2.3 2007/11/26 11:06:13 adrian Exp $
 
3
 * $Id: HttpHeader.c,v 1.91.2.4 2007/12/21 09:56:53 adrian Exp $
4
4
 *
5
5
 * DEBUG: section 55    HTTP Header
6
6
 * AUTHOR: Alex Rousskov
391
391
    pos = 0;
392
392
    while (dp < hdr->entries.count) {
393
393
        for (; dp < hdr->entries.count && hdr->entries.items[dp] == NULL; dp++);
394
 
        assert(dp < hdr->entries.count);
 
394
        if (dp >= hdr->entries.count)
 
395
            break;
395
396
        hdr->entries.items[pos] = hdr->entries.items[dp];
396
397
        if (dp != pos)
397
398
            hdr->entries.items[dp] = NULL;