#include "file.h"
#ifndef lint
-FILE_RCSID("@(#)$File: softmagic.c,v 1.134 2009/03/10 20:52:50 christos Exp $")
+FILE_RCSID("@(#)$File: softmagic.c,v 1.135 2009/03/27 22:42:49 christos Exp $")
#endif /* lint */
#include "magic.h"
* make sure that we have a separator first.
*/
if (*m->desc) {
- printed_something = 1;
if ((e = handle_annotation(ms, m)) != 0)
return e;
- if (print_sep(ms, firstline) == -1)
- return -1;
+ if (!printed_something) {
+ printed_something = 1;
+ if (print_sep(ms, firstline)
+ == -1)
+ return -1;
+ }
}
/*
* This continuation matched. Print