char *attribute;
char *value;
int index;
- int encoded;
+ bool encoded;
struct Rfc2231Parameter *next;
};
char charset[STRING];
char *value = NULL;
char *valp = NULL;
- int encoded;
+ bool encoded;
size_t l, vl;
mutt_str_strfcpy(attribute, par->attribute, sizeof(attribute));
encoded = par->encoded;
- if (encoded != 0)
+ if (encoded)
valp = rfc2231_get_charset(par->value, charset, sizeof(charset));
else
valp = par->value;
char *s = NULL, *t = NULL;
char charset[STRING];
- int encoded;
+ bool encoded;
int index;
bool dirty = false; /* set to 1 when we may have created
* empty parameters. */