mirror of
https://github.com/amadvance/snapraid.git
synced 2026-11-29 11:26:48 -05:00
In Windows convert backslash to forward slash.
This commit is contained in:
parent
61eb8e802f
commit
5a2e118c38
9 changed files with 25 additions and 21 deletions
2
elem.c
2
elem.c
|
|
@ -46,7 +46,7 @@ struct snapraid_filter* filter_alloc(int direction, const char* pattern)
|
|||
char* last;
|
||||
|
||||
filter = malloc_nofail(sizeof(struct snapraid_filter));
|
||||
pathcpy(filter->pattern, sizeof(filter->pattern), pattern);
|
||||
pathimport(filter->pattern, sizeof(filter->pattern), pattern);
|
||||
filter->direction = direction;
|
||||
|
||||
/* find first and last slash */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue