From fd83d6ff56456c56ddef510d3c935ee123de62fd Mon Sep 17 00:00:00 2001 From: Christos Zoulas Date: Sun, 11 Mar 2018 01:23:52 +0000 Subject: return if we matched or not in the "use" case so we can use: >>>>&26 use msooxml >>>>&26 default x correctly. --- src/softmagic.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/softmagic.c b/src/softmagic.c index f89e687c..00d5aac6 100644 --- a/src/softmagic.c +++ b/src/softmagic.c @@ -32,7 +32,7 @@ #include "file.h" #ifndef lint -FILE_RCSID("@(#)$File: softmagic.c,v 1.258 2018/02/24 19:49:43 christos Exp $") +FILE_RCSID("@(#)$File: softmagic.c,v 1.259 2018/03/11 01:23:52 christos Exp $") #endif /* lint */ #include "magic.h" @@ -1728,7 +1728,7 @@ mget(struct magic_set *ms, struct magic *m, const struct buffer *b, printed_something, need_separator, returnval); if (rv != 1) *need_separator = oneed_separator; - return 1; + return rv; case FILE_NAME: if (ms->flags & MAGIC_NODESC) -- cgit v1.2.1