Return to magic-test.c CVS log | Up to [local] / src / usr.bin / file |
version 1.24, 2016/08/26 08:50:31 | version 1.25, 2017/04/18 14:16:48 | ||
---|---|---|---|
|
|
||
if (*ms.out != '\0') { | if (*ms.out != '\0') { | ||
if (flags & MAGIC_TEST_MIME) { | if (flags & MAGIC_TEST_MIME) { | ||
if (ms.mimetype) | if (ms.mimetype != NULL) | ||
return (xstrdup(ms.mimetype)); | return (xstrdup(ms.mimetype)); | ||
return (NULL); | return (NULL); | ||
} | } |