From: Ken Raeburn Date: Tue, 26 Oct 1999 22:12:27 +0000 (+0000) Subject: * trval.c (print_tag_type): Use fputs when there's no formatting to do X-Git-Tag: krb5-1.2-beta1~202 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=7d7cfbdc9051f99a994eca2fc8fde8d333ae29d3;p=krb5.git * 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 --- 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); }