# HG changeset patch # User Matti Hamalainen # Date 1455504186 -7200 # Node ID 1362f00e4368901f436c9ae83147ab1ace27580f # Parent 9d4d1783800ba1ecdcacd37fac7dcfb3c634850b Rename function arguments. diff -r 9d4d1783800b -r 1362f00e4368 sidlib.c --- 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; }