[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Nmh-commits] nmh ./ChangeLog sbr/fmt_rfc2047.c
From: |
Josh Bressers |
Subject: |
[Nmh-commits] nmh ./ChangeLog sbr/fmt_rfc2047.c |
Date: |
Thu, 09 Mar 2006 19:51:13 +0000 |
CVSROOT: /sources/nmh
Module name: nmh
Branch:
Changes by: Josh Bressers <address@hidden> 06/03/09 19:51:13
Modified files:
. : ChangeLog
sbr : fmt_rfc2047.c
Log message:
* sbr/fmt_rfc2047.c (decode_rfc2047): Don't close the iconv descriptor
if
it isn't valid.
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/nmh/nmh/ChangeLog.diff?tr1=1.242&tr2=1.243&r1=text&r2=text
http://cvs.savannah.gnu.org/viewcvs/nmh/nmh/sbr/fmt_rfc2047.c.diff?tr1=1.8&tr2=1.9&r1=text&r2=text
Patches:
Index: nmh/ChangeLog
diff -u nmh/ChangeLog:1.242 nmh/ChangeLog:1.243
--- nmh/ChangeLog:1.242 Wed Mar 8 12:14:15 2006
+++ nmh/ChangeLog Thu Mar 9 19:51:13 2006
@@ -1,3 +1,8 @@
+2006-03-09 Josh Bressers <address@hidden>
+
+ * sbr/fmt_rfc2047.c (decode_rfc2047): Don't close the iconv descriptor
+ if it isn't valid.
+
2006-03-08 Josh Bressers <address@hidden>
* (mh_strcasecmp): Rename the private strcasecmp function to
Index: nmh/sbr/fmt_rfc2047.c
diff -u nmh/sbr/fmt_rfc2047.c:1.8 nmh/sbr/fmt_rfc2047.c:1.9
--- nmh/sbr/fmt_rfc2047.c:1.8 Wed Mar 8 12:14:16 2006
+++ nmh/sbr/fmt_rfc2047.c Thu Mar 9 19:51:13 2006
@@ -2,7 +2,7 @@
/*
* fmt_rfc2047.c -- decode RFC-2047 header format
*
- * $Id: fmt_rfc2047.c,v 1.8 2006/03/08 12:14:16 bress Exp $
+ * $Id: fmt_rfc2047.c,v 1.9 2006/03/09 19:51:13 bress Exp $
*
* This code is Copyright (c) 2002, by the authors of nmh. See the
* COPYRIGHT file in the root directory of the nmh distribution for
@@ -200,7 +200,7 @@
* empty encoded text. This ensures that we don't
* malloc 0 bytes but skip on to the end
*/
- if (endofmime == startofmime) {
+ if (endofmime == startofmime && use_iconv) {
use_iconv = 0;
iconv_close(cd);
}