From ea022b8c7c8f7cfb7f6a4667f12742b322732ef3 Mon Sep 17 00:00:00 2001 From: Christos Zoulas Date: Sat, 3 Mar 2007 19:09:25 +0000 Subject: [PATCH] fix typo --- src/softmagic.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/softmagic.c b/src/softmagic.c index c9cf13dc..45736f05 100644 --- a/src/softmagic.c +++ b/src/softmagic.c @@ -38,7 +38,7 @@ #ifndef lint -FILE_RCSID("@(#)$File: softmagic.c,v 1.93 2007/03/02 19:29:55 christos Exp $") +FILE_RCSID("@(#)$File: softmagic.c,v 1.94 2007/03/02 19:52:47 christos Exp $") #endif /* lint */ private int match(struct magic_set *, struct magic *, uint32_t, @@ -1533,7 +1533,7 @@ magiccheck(struct magic_set *ms, struct magic *m) pmatch[0].rm_eo = ms->search.s_len; #endif rc = regexec(&rx, (const char *)ms->search.s, - 1, pmatch, REG_STARTENDO); + 1, pmatch, REG_STARTEND); #if REG_STARTEND == 0 ((char *)(intptr_t)ms->search.s)[l] = c; #endif -- 2.40.0