- if (!ascii_strncasecmp (name, "8859", 4) && name[4] != '-')
- snprintf (scratch, sizeof (scratch), "iso-8859-%s", name +4);
- else if (!ascii_strncasecmp (name, "8859-", 5))
- snprintf (scratch, sizeof (scratch), "iso-8859-%s", name + 5);
- else if (!ascii_strncasecmp (name, "iso8859", 7) && name[7] != '-')
- snprintf (scratch, sizeof (scratch), "iso_8859-%s", name + 7);
- else if (!ascii_strncasecmp (name, "iso8859-", 8))
- snprintf (scratch, sizeof (scratch), "iso_8859-%s", name + 8);
+ if (!ascii_strncasecmp (in, "8859", 4) && in[4] != '-')
+ snprintf (scratch, sizeof (scratch), "iso-8859-%s", in +4);
+ else if (!ascii_strncasecmp (in, "8859-", 5))
+ snprintf (scratch, sizeof (scratch), "iso-8859-%s", in + 5);
+ else if (!ascii_strncasecmp (in, "iso8859", 7) && in[7] != '-')
+ snprintf (scratch, sizeof (scratch), "iso_8859-%s", in + 7);
+ else if (!ascii_strncasecmp (in, "iso8859-", 8))
+ snprintf (scratch, sizeof (scratch), "iso_8859-%s", in + 8);