summaryrefslogtreecommitdiff
path: root/mail/nail/patches/patch-ad
blob: 53f1b24d11803066f6aaea10fd449d249402302c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
$NetBSD: patch-ad,v 1.1.1.1 2002/12/09 10:37:17 cjep Exp $

--- sendout.c.orig	Thu Nov 28 01:01:01 2002
+++ sendout.c
@@ -428,10 +428,13 @@ infix(hp, fi)
 #endif
 		return NULL;
 	}
+
+#ifdef	HAVE_ICONV
 	if (convhdr && iconvd != (iconv_t)-1) {
 		iconv_close(iconvd);
 		iconvd = (iconv_t)-1;
 	}
+#endif
 	if (hp->h_attach != NULL) {
 		if (make_multipart(hp, convert, fi, nfo,
 					contenttype, charset) != 0) {