Changeset 2138 for pjproject/trunk/pjlib/src/pj/hash.c
- Timestamp:
- Jul 14, 2008 4:58:11 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjlib/src/pj/hash.c
r2039 r2138 277 277 it->entry = NULL; 278 278 279 for (; it->index < ht->rows; ++it->index) {279 for (; it->index <= ht->rows; ++it->index) { 280 280 it->entry = ht->table[it->index]; 281 281 if (it->entry) { … … 295 295 } 296 296 297 for (++it->index; it->index < ht->rows; ++it->index) {297 for (++it->index; it->index <= ht->rows; ++it->index) { 298 298 it->entry = ht->table[it->index]; 299 299 if (it->entry) { … … 320 320 int len, totlen = 0; 321 321 322 for (i=0; i< ht->rows; ++i) {322 for (i=0; i<=ht->rows; ++i) { 323 323 unsigned count = 0; 324 324 pj_hash_entry *entry = ht->table[i];
Note: See TracChangeset
for help on using the changeset viewer.