mirror of
https://github.com/amadvance/snapraid.git
synced 2026-12-04 05:40:14 -05:00
Source code beautification
Done with uncrustify.
This commit is contained in:
parent
be84bbffe4
commit
36a4d24333
14 changed files with 51 additions and 45 deletions
|
|
@ -87,11 +87,11 @@ static int fast_mtest_vector(int n, size_t size, void** vv)
|
|||
|
||||
/* copy to the next */
|
||||
for (j = 1; j < n; ++j)
|
||||
memcpy(vv[j], vv[j-1], size);
|
||||
memcpy(vv[j], vv[j - 1], size);
|
||||
|
||||
/* compare with the previous */
|
||||
for (j = 1; j <= n; ++j)
|
||||
if (memcmp(vv[j % n], vv[j-1], size) != 0)
|
||||
if (memcmp(vv[j % n], vv[j - 1], size) != 0)
|
||||
return -1;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue