projects
/
mmh
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d2f1255
)
* sbr/fmt_rfc2047.c (decode_rfc2047): Don't close the iconv descriptor if
author
Josh Bressers
<josh@bress.net>
Thu, 9 Mar 2006 19:51:13 +0000
(19:51 +0000)
committer
Josh Bressers
<josh@bress.net>
Thu, 9 Mar 2006 19:51:13 +0000
(19:51 +0000)
it isn't valid.
ChangeLog
patch
|
blob
|
history
sbr/fmt_rfc2047.c
patch
|
blob
|
history
diff --git
a/ChangeLog
b/ChangeLog
index
f593db9
..
0eaa651
100644
(file)
--- a/
ChangeLog
+++ b/
ChangeLog
@@
-1,3
+1,8
@@
+2006-03-09 Josh Bressers <josh@bress.net>
+
+ * sbr/fmt_rfc2047.c (decode_rfc2047): Don't close the iconv descriptor
+ if it isn't valid.
+
2006-03-08 Josh Bressers <josh@bress.net>
* (mh_strcasecmp): Rename the private strcasecmp function to
diff --git
a/sbr/fmt_rfc2047.c
b/sbr/fmt_rfc2047.c
index
ef1bdfa
..
9d5b6d3
100644
(file)
--- a/
sbr/fmt_rfc2047.c
+++ b/
sbr/fmt_rfc2047.c
@@
-200,7
+200,7
@@
decode_rfc2047 (char *str, char *dst, size_t dstlen)
* 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);
}