From 7d7cfbdc9051f99a994eca2fc8fde8d333ae29d3 Mon Sep 17 00:00:00 2001 From: Ken Raeburn Date: Tue, 26 Oct 1999 22:12:27 +0000 Subject: [PATCH] * trval.c (print_tag_type): Use fputs when there's no formatting to do git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11879 dc483132-0cff-0310-8789-dd5450dbe970 --- src/tests/asn.1/ChangeLog | 4 ++++ src/tests/asn.1/trval.c | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/src/tests/asn.1/ChangeLog b/src/tests/asn.1/ChangeLog index 0b9e885e1..d9a2f322a 100644 --- a/src/tests/asn.1/ChangeLog +++ b/src/tests/asn.1/ChangeLog @@ -1,3 +1,7 @@ + + * trval.c (print_tag_type): Use fputs when there's no formatting + to do. + 1999-10-26 Tom Yu * Makefile.in: Clean up usage of CFLAGS, CPPFLAGS, DEFS, DEFINES, diff --git a/src/tests/asn.1/trval.c b/src/tests/asn.1/trval.c index 7a1ddc368..fb3e4ea9b 100644 --- a/src/tests/asn.1/trval.c +++ b/src/tests/asn.1/trval.c @@ -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); } -- 2.26.2