aboutsummaryrefslogtreecommitdiff
path: root/match.c
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2021-01-17 13:33:10 -0800
committerBruce Hill <bruce@bruce-hill.com>2021-01-17 13:33:10 -0800
commit3cc645f2d0393e6e2d1d03a099a0c3320acb2a20 (patch)
treedb9a9574928075404af4fb64640be8fa096dd3d1 /match.c
parenta4f0b93836fa84c80d68ffdab4e36dd026a498f0 (diff)
Improved argument parsing and added support for prompting user for a
pattern if none is provided
Diffstat (limited to 'match.c')
-rw-r--r--match.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/match.c b/match.c
index 8294dc1..237418a 100644
--- a/match.c
+++ b/match.c
@@ -433,7 +433,6 @@ match_t *match(def_t *defs, file_t *f, const char *str, pat_t *pat, unsigned int
def_t defs2 = {
.namelen = def->namelen,
.name = def->name,
- .file = def->file,
.pat = &rec_op,
.next = defs,
};