diff options
author | Glenn L McGrath <bug1@ihug.co.nz> | 2003-03-09 15:40:40 +0000 |
---|---|---|
committer | Glenn L McGrath <bug1@ihug.co.nz> | 2003-03-09 15:40:40 +0000 |
commit | f3bd7c4631b0489f93069bf4de127f74a88f90c9 (patch) | |
tree | 5465c384d527b4228e87fde4fadd4cc225744d72 /editors | |
parent | f50ce3135f347a863e45b974b0751e78cb610f83 (diff) | |
download | busybox-f3bd7c4631b0489f93069bf4de127f74a88f90c9.tar.gz |
Fix a delimiter matching bug i introduced.
Diffstat (limited to 'editors')
-rw-r--r-- | editors/sed.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/editors/sed.c b/editors/sed.c index ac765c83f..ddd4780d3 100644 --- a/editors/sed.c +++ b/editors/sed.c @@ -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]; |