Module Name: src
Committed By: christos
Date: Mon Jun 21 19:49:31 UTC 2010
Modified Files:
src/usr.bin/mail: mime_decode.c
Log Message:
- fix format print issue. from anon ymous
To generate a diff of this commit:
cvs rdiff -u -r1.16 -r1.17 src/usr.bin/mail/mime_decode.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/usr.bin/mail/mime_decode.c
diff -u src/usr.bin/mail/mime_decode.c:1.16 src/usr.bin/mail/mime_decode.c:1.17
--- src/usr.bin/mail/mime_decode.c:1.16 Fri Aug 28 10:26:50 2009
+++ src/usr.bin/mail/mime_decode.c Mon Jun 21 15:49:31 2010
@@ -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);
}
}