Changeset 5287

Show
Ignore:
Timestamp:
02/19/08 16:56:39 (9 months ago)
Author:
morris
Message:

Same fix as for hash

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • libwired/trunk/libwired/collections/wi-set.c

    r5283 r5287  
    386386        _wi_set_bucket_t                *bucket; 
    387387         
    388         while(context->index < set->buckets_count) { 
     388        while(true) { 
    389389                bucket = context->bucket; 
    390390                 
     
    399399                        } 
    400400                } 
     401                 
     402                if(context->index >= set->buckets_count) 
     403                        break; 
    401404                 
    402405                bucket = set->buckets[context->index];