diff options
| author | Pedro F. Giffuni <pfg@FreeBSD.org> | 2015-01-27 18:58:24 +0000 |
|---|---|---|
| committer | Pedro F. Giffuni <pfg@FreeBSD.org> | 2015-01-27 18:58:24 +0000 |
| commit | fc04dce05911dc5a6ababdcbc1ce0eeb726705a1 (patch) | |
| tree | 4a87103f4449f4a603b2e0966844e640a9199520 /usr.bin/sed/process.c | |
| parent | c7d7e597b410b3802ed7480d0db628e8449f29cc (diff) | |
Notes
Diffstat (limited to 'usr.bin/sed/process.c')
| -rw-r--r-- | usr.bin/sed/process.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/sed/process.c b/usr.bin/sed/process.c index cdfba811ce18..daabfd8bc7f6 100644 --- a/usr.bin/sed/process.c +++ b/usr.bin/sed/process.c @@ -324,7 +324,7 @@ applies(struct s_command *cp) } else r = 1; } - } else if (MATCH(cp->a1)) { + } else if (cp->a1 && MATCH(cp->a1)) { /* * If the second address is a number less than or * equal to the line number first selected, only |
