[BACK]Return to magic-test.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / file

Diff for /src/usr.bin/file/magic-test.c between version 1.25 and 1.26

version 1.25, 2017/04/18 14:16:48 version 1.26, 2018/06/14 19:51:11
Line 1404 
Line 1404 
         if (*ms.out != '\0') {          if (*ms.out != '\0') {
                 if (flags & MAGIC_TEST_MIME) {                  if (flags & MAGIC_TEST_MIME) {
                         if (ms.mimetype != NULL)                          if (ms.mimetype != NULL)
                                 return (xstrdup(ms.mimetype));                                  return (ms.mimetype);
                         return (NULL);                          return (NULL);
                 }                  }
                 return (xstrdup(ms.out));                  return (ms.out);
         }          }
         return (NULL);          return (NULL);
 }  }

Legend:
Removed from v.1.25  
changed lines
  Added in v.1.26