~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to diff-delta.c

  • Committer: John Arbash Meinel
  • Date: 2009-03-03 20:07:11 UTC
  • mto: (0.17.31 trunk)
  • mto: This revision was merged to the branch mainline in revision 4280.
  • Revision ID: john@arbash-meinel.com-20090303200711-qc4qoqyrnpyla6iz
Fix a bug in create_delta_index_from_delta when inserting into a already filled hash location.

Show diffs side-by-side

added added

removed removed

Lines of Context:
466
466
                                                hash[i] = entry;
467
467
                                        } else {
468
468
                                                struct unpacked_index_entry *this;
469
 
                                                for (this = entry;
 
469
                                                for (this = hash[i];
470
470
                                                        this->next != NULL;
471
471
                                                        this = this->next) { /* No action */ }
472
472
                                                this->next = entry;