]> granicus.if.org Git - file/commitdiff
wrap long lines
authorChristos Zoulas <christos@zoulas.com>
Tue, 15 Mar 2011 22:16:29 +0000 (22:16 +0000)
committerChristos Zoulas <christos@zoulas.com>
Tue, 15 Mar 2011 22:16:29 +0000 (22:16 +0000)
src/ascmagic.c

index 3b6668043d9160011c4c654ed50e7ea554b4e959..279a51a8cfd7446cb4d3a6aab80b22199fd35947 100644 (file)
@@ -35,7 +35,7 @@
 #include "file.h"
 
 #ifndef        lint
-FILE_RCSID("@(#)$File: ascmagic.c,v 1.80 2011/03/12 18:13:54 rrt Exp $")
+FILE_RCSID("@(#)$File: ascmagic.c,v 1.81 2011/03/15 22:16:29 christos Exp $")
 #endif /* lint */
 
 #include "magic.h"
@@ -149,10 +149,11 @@ file_ascmagic_with_encoding(struct magic_set *ms, const unsigned char *buf,
                        file_oomem(ms, mlen);
                        goto done;
                }
-               if ((utf8_end = encode_utf8(utf8_buf, mlen, ubuf, ulen)) == NULL)
+               if ((utf8_end = encode_utf8(utf8_buf, mlen, ubuf, ulen))
+                   == NULL)
                        goto done;
-               if ((rv = file_softmagic(ms, utf8_buf, (size_t)(utf8_end - utf8_buf),
-                                        TEXTTEST)) != 0)
+               if ((rv = file_softmagic(ms, utf8_buf,
+                   (size_t)(utf8_end - utf8_buf), TEXTTEST)) != 0)
                        goto subtype_identified;
                else
                        rv = -1;