Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/usr.bin/mail - fix format print issue. from anon ymous



details:   https://anonhg.NetBSD.org/src/rev/76b30869b00c
branches:  trunk
changeset: 755796:76b30869b00c
user:      christos <christos%NetBSD.org@localhost>
date:      Mon Jun 21 19:49:31 2010 +0000

description:
- fix format print issue. from anon ymous

diffstat:

 usr.bin/mail/mime_decode.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 93bbb0d226a5 -r 76b30869b00c usr.bin/mail/mime_decode.c
--- a/usr.bin/mail/mime_decode.c        Mon Jun 21 14:43:34 2010 +0000
+++ b/usr.bin/mail/mime_decode.c        Mon Jun 21 19:49:31 2010 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: mime_decode.c,v 1.16 2009/08/28 14:26:50 christos Exp $        */
+/*     $NetBSD: mime_decode.c,v 1.17 2010/06/21 19:49:31 christos Exp $        */
 
 /*-
  * Copyright (c) 2006 The NetBSD Foundation, Inc.
@@ -34,7 +34,7 @@
 
 #include <sys/cdefs.h>
 #ifndef __lint__
-__RCSID("$NetBSD: mime_decode.c,v 1.16 2009/08/28 14:26:50 christos Exp $");
+__RCSID("$NetBSD: mime_decode.c,v 1.17 2010/06/21 19:49:31 christos Exp $");
 #endif /* not __lint__ */
 
 #include <assert.h>
@@ -1132,7 +1132,7 @@
                hdrstr = linebuf;
                if (colon)
                        hdrstr = mime_decode_hfield(decbuf, sizeof(decbuf), hdrstr, hdrstr);
-               (void)fprintf(fo, hdrstr);
+               (void)fputs(hdrstr, fo);
        }
 }
 



Home | Main Index | Thread Index | Old Index