commit | 523e5a995e1502deebd94efba44a1b5cb0007794 | [log] [tgz] |
---|---|---|
author | Kevin O'Connor <kevin@koconnor.net> | Sat Jul 04 13:46:33 2009 -0400 |
committer | Kevin O'Connor <kevin@koconnor.net> | Sat Jul 04 13:46:33 2009 -0400 |
tree | c3fdb8f37722b1737c4a83ea02f7a5542549410e | |
parent | d282af77b61af2172608b893a7a31fb686ec4643 [diff] |
Use "p->sum -= checksum()" style for setting checksums. Some code cleared the original checksum and then calculated a new one, others manipulated the checksum range to not include the old checksum. However, this was error prone - use the "-=" syntax consistently to reduce possible errors.