Fix a delimiter matching bug i introduced.

This commit is contained in:
Glenn L McGrath 2003-03-09 15:40:40 +00:00
parent f50ce3135f
commit f3bd7c4631

View File

@ -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];