mirror of
https://github.com/sheumann/hush.git
synced 2024-12-22 14:30:31 +00:00
Fix a delimiter matching bug i introduced.
This commit is contained in:
parent
f50ce3135f
commit
f3bd7c4631
@ -193,6 +193,7 @@ static int get_address(char *delimiter, char *my_str, int *linenum, regex_t **re
|
||||
else if (my_str[idx] == '/' || my_str[idx] == '\\') {
|
||||
int idx_start = 1;
|
||||
|
||||
*delimiter = '/';
|
||||
if (my_str[idx] == '\\') {
|
||||
idx_start++;
|
||||
*delimiter = my_str[++idx];
|
||||
|
Loading…
Reference in New Issue
Block a user