* trval.c (print_tag_type): Use fputs when there's no formatting to do
authorKen Raeburn <raeburn@mit.edu>
Tue, 26 Oct 1999 22:12:27 +0000 (22:12 +0000)
committerKen Raeburn <raeburn@mit.edu>
Tue, 26 Oct 1999 22:12:27 +0000 (22:12 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11879 dc483132-0cff-0310-8789-dd5450dbe970

src/tests/asn.1/ChangeLog
src/tests/asn.1/trval.c

index 0b9e885e1fd0e69c270618ccc061e7cf53f45866..d9a2f322a804fbbf4e8576b0ef1be5a7e405a140 100644 (file)
@@ -1,3 +1,7 @@
+
+       * trval.c (print_tag_type): Use fputs when there's no formatting
+       to do.
+
 1999-10-26  Tom Yu  <tlyu@mit.edu>
 
        * Makefile.in: Clean up usage of CFLAGS, CPPFLAGS, DEFS, DEFINES,
index 7a1ddc3681d53a626c9fb2edb42bc5e9c7fddbb9..fb3e4ea9b574d95da0f379c86feba5ab764ab315 100644 (file)
@@ -814,10 +814,10 @@ void print_tag_type(fp, eid, lev)
        
        if (print_types && ((eid & ID_CLASS) == CLASS_UNIV)) {
                if (do_space)
-                       fprintf(fp, " ");
+                       fputs(" ", fp);
                str = lookup_typestring(univ_types, eid & ID_TAG, -1);
                if (str)
-                       fprintf(fp, str);
+                       fputs(str, fp);
                else
                        fprintf(fp, "UNIV %d???", eid & ID_TAG);
        }