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

« back to all changes in this revision

Viewing changes to lib/Array.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
 
 * $Id: Array.c,v 1.8.2.1 2007/11/26 11:06:12 adrian Exp $
 
2
 * $Id: Array.c,v 1.8.2.2 2008/01/09 13:02:07 adrian Exp $
3
3
 *
4
4
 * AUTHOR: Alex Rousskov
5
5
 *
142
142
void
143
143
arrayShrink(Array *a, int new_count)
144
144
{
145
 
        assert(new_count < a->capacity);
 
145
        assert(new_count <= a->capacity);
146
146
        assert(new_count >= 0);
147
147
        a->count = new_count;
148
148
}