X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/00d3f131b4fdf5b9913f1ed3ef94fa535be11655..3ab1e9323e964d5377952a2b666ce91bab39c45a:/uip/mhfixmsg.c diff --git a/uip/mhfixmsg.c b/uip/mhfixmsg.c index b4e8dc7f..e9584593 100644 --- a/uip/mhfixmsg.c +++ b/uip/mhfixmsg.c @@ -2522,12 +2522,9 @@ fix_always (CT ct, int *message_mods) { */ static int fix_filename_param (char *name, char *value, PM *first_pm, PM *last_pm) { - size_t value_len; int fixed = 0; - if (((value_len = strlen (value)) > 0) && - HasPrefix(value, "=?") && - HasSuffix(value, "?=")) { + if (HasPrefix(value, "=?") && HasSuffix(value, "?=")) { /* Looks like an RFC 2047 encoded parameter. */ char decoded[PATH_MAX + 1];