Mercurial > hg > sidinfo
diff sidlib.c @ 160:27365eae837b
Cleanup.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Mon, 05 Feb 2018 00:59:58 +0200 |
parents | 9cfa0553e7f9 |
children | 7359170fbb7f |
line wrap: on
line diff
--- a/sidlib.c Thu Oct 26 01:47:19 2017 +0300 +++ b/sidlib.c Mon Feb 05 00:59:58 2018 +0200 @@ -335,8 +335,7 @@ } // Get hash value - pos = 0; - for (i = 0; i < TH_MD5HASH_LENGTH; i++, pos += 2) + for (pos = 0, i = 0; i < TH_MD5HASH_LENGTH; i++, pos += 2) { unsigned int tmpu; sscanf(&line[pos], "%2x", &tmpu);