summaryrefslogtreecommitdiff
path: root/mailinfo.c
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <junkio@cox.net>2005-12-24 00:16:56 -0800
committerLibravatar Junio C Hamano <junkio@cox.net>2005-12-24 00:16:56 -0800
commit2414721b194453f058079d897d13c4e377f92dc6 (patch)
treee9ebf15a1e77336196ef11714d962a6f5dfb7197 /mailinfo.c
parentgit-clone: do not special case dumb http. (diff)
parentGIT 1.0.4 (diff)
downloadtgif-2414721b194453f058079d897d13c4e377f92dc6.tar.xz
Merge fixes up to GIT 1.0.4
Diffstat (limited to 'mailinfo.c')
-rw-r--r--mailinfo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mailinfo.c b/mailinfo.c
index 9f95f37651..0265a29a38 100644
--- a/mailinfo.c
+++ b/mailinfo.c
@@ -472,7 +472,7 @@ static void convert_to_utf8(char *line, char *charset)
char *in, *out;
size_t insize, outsize, nrc;
char outbuf[4096]; /* cheat */
- static char latin_one[] = "latin-1";
+ static char latin_one[] = "latin1";
char *input_charset = *charset ? charset : latin_one;
iconv_t conv = iconv_open(metainfo_charset, input_charset);