X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=rfc2231.c;h=0f9a2f53880be05b40ab0e65e5897ca47365644c;hp=aa6b071c60dbafc5cb99c9b1e196b44aedd17ba3;hb=238b70e39b78f585c586bd51aef41988b3cc73d1;hpb=ecaab35b973fbceb58b5ed174971c82762cc0199 diff --git a/rfc2231.c b/rfc2231.c index aa6b071..0f9a2f5 100644 --- a/rfc2231.c +++ b/rfc2231.c @@ -187,7 +187,7 @@ static char *rfc2231_get_charset (char *value, char *charset, size_t chslen) } *t = '\0'; - strfcpy (charset, value, chslen); + m_strcpy(charset, chslen, value); if ((u = strchr (t + 1, '\''))) return u + 1; @@ -231,7 +231,7 @@ static void rfc2231_list_insert (struct rfc2231_parameter **list, q = p; p = p->next; - c = str_cmp (par->value, q->value); + c = m_strcmp(par->value, q->value); if ((c > 0) || (c == 0 && par->index >= q->index)) break; } @@ -259,7 +259,7 @@ static void rfc2231_join_continuations (PARAMETER ** head, value = NULL; l = 0; - strfcpy (attribute, par->attribute, sizeof (attribute)); + m_strcpy(attribute, sizeof(attribute), par->attribute); if ((encoded = par->encoded)) valp = rfc2231_get_charset (par->value, charset, sizeof (charset)); @@ -280,7 +280,7 @@ static void rfc2231_join_continuations (PARAMETER ** head, rfc2231_free_parameter (&par); if ((par = q)) valp = par->value; - } while (par && !str_cmp (par->attribute, attribute)); + } while (par && !m_strcmp(par->attribute, attribute)); if (value) { if (encoded)