X-Git-Url: http://git.madism.org/?a=blobdiff_plain;f=lib-mx%2Fhcache.c;h=e59e43ac3a3381bf18581f0fb342c2a39b600819;hb=5ef16452ce43a12e467e7004a6a240aefb87a774;hp=a985ae36ff82439e4e43b15c9755123c04184580;hpb=e3acf47563fd21378bb5e955948af13ee19774d6;p=apps%2Fmadmutt.git diff --git a/lib-mx/hcache.c b/lib-mx/hcache.c index a985ae3..e59e43a 100644 --- a/lib-mx/hcache.c +++ b/lib-mx/hcache.c @@ -55,8 +55,8 @@ static int generate_crc32(void) int crc = 0; crc = crc32(crc, "madmutt.2007.05.13", m_strlen("madmutt.2007.05.13")); -#ifdef HAVE_LANGINFO_CODESET - crc = crc32(crc, MCharset.charset, m_strlen(MCharset.charset)); +#ifdef HAVE_LANGINFO_H + crc = crc32(crc, mod_cset.charset, m_strlen(mod_cset.charset)); #endif crc = crc32(crc, "USE_POP", m_strlen("USE_POP")); crc = crc32(crc, "MIXMASTER", m_strlen("MIXMASTER")); @@ -281,7 +281,6 @@ static void dump_envelope(buffer_t *buf, ENVELOPE * e) dump_cstr(buf, e->newsgroups); dump_cstr(buf, e->xref); dump_cstr(buf, e->followup_to); - dump_cstr(buf, e->x_comment_to); #endif dump_list(buf, e->references); @@ -319,7 +318,6 @@ static const void *restore_envelope(const char *d, ENVELOPE *e) d = restore_cstr(d, &e->newsgroups); d = restore_cstr(d, &e->xref); d = restore_cstr(d, &e->followup_to); - d = restore_cstr(d, &e->x_comment_to); #endif d = restore_list(d, &e->references);