Mercurial > hg > sidinfo
changeset 102:1362f00e4368
Rename function arguments.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Mon, 15 Feb 2016 04:43:06 +0200 |
parents | 9d4d1783800b |
children | ff6d1a9a2fde |
files | sidlib.c |
diffstat | 1 files changed, 4 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/sidlib.c Mon Feb 15 01:20:37 2016 +0200 +++ b/sidlib.c Mon Feb 15 04:43:06 2016 +0200 @@ -421,15 +421,15 @@ // Compare two given MD5-hashes. // Return: 0 if equal -// negative if testHash1 < testHash2 -// positive if testHash1 > testHash2 +// negative if hash1 < hash2 +// positive if hash1 > hash2 // -static int si_sldb_compare_hash(th_md5hash_t testHash1, th_md5hash_t testHash2) +static int si_sldb_compare_hash(th_md5hash_t hash1, th_md5hash_t hash2) { int i, delta; for (i = delta = 0; i < TH_MD5HASH_LENGTH && !delta; i++) - delta = testHash1[i] - testHash2[i]; + delta = hash1[i] - hash2[i]; return delta; }