Changeset 518 for trunk/gsdl


Ignore:
Timestamp:
1999-09-02T21:31:53+12:00 (25 years ago)
Author:
rjmcnab
Message:

Fixed bug that occurs if the input file starts with a zero byte.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl/src/hashfile/hashfile.cpp

    r40 r518  
    160160    }
    161161    remainder.num[0] = c;
    162     remainder.len = remainder.len+1;
     162    if (remainder.len > 0 || c != 0) remainder.len = remainder.len+1;
    163163   
    164164    for (i=7; i>=0; i--) {
Note: See TracChangeset for help on using the changeset viewer.