mirror of
https://github.com/amadvance/snapraid.git
synced 2026-12-02 21:00:16 -05:00
Rename string functions to avoid variable shadow
This commit is contained in:
parent
8de78a8b9f
commit
6f16cddd5b
5 changed files with 10 additions and 10 deletions
|
|
@ -130,8 +130,8 @@ static int devresolve_proc(uint64_t device, char* path, size_t path_size)
|
|||
separator += 3;
|
||||
|
||||
/* split the line */
|
||||
first_mac = split(first_map, 8, s, " \t\r\n");
|
||||
second_mac = split(second_map, 8, separator, " \t\r\n");
|
||||
first_mac = strsplit(first_map, 8, s, " \t\r\n");
|
||||
second_mac = strsplit(second_map, 8, separator, " \t\r\n");
|
||||
|
||||
/* if too short, it's the wrong line */
|
||||
if (first_mac < 5)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue