if ((url_flags & IMAP_URLAUTH_FETCH_FLAG_BINARY) != 0)
imap_msgpart_url_set_decode_to_binary(client->url);
if ((url_flags & IMAP_URLAUTH_FETCH_FLAG_BODYPARTSTRUCTURE) != 0) {
- ret = imap_msgpart_url_get_bodypartstructure(client->url,
+ ret = imap_msgpart_url_get_bodypartstructure(client->url, 0,
bpstruct_r, &error);
if (ret <= 0) {
*errormsg_r = t_strdup_printf(
}
int imap_msgpart_url_get_bodypartstructure(struct imap_msgpart_url *mpurl,
+ enum imap_quote_flags qflags,
const char **bpstruct_r,
const char **client_error_r)
{
if (ret <= 0)
return ret;
- ret = imap_msgpart_bodypartstructure(mail, mpurl->part, 0,
+ ret = imap_msgpart_bodypartstructure(mail, mpurl->part, qflags,
bpstruct_r);
if (ret < 0)
*client_error_r = mailbox_get_last_error(mpurl->box, NULL);
const char **client_error_r);
int imap_msgpart_url_get_bodypartstructure(struct imap_msgpart_url *mpurl,
+ enum imap_quote_flags qflags,
const char **bpstruct_r,
const char **client_error_r);
imap_msgpart_url_set_decode_to_binary(mpurl);
if (success &&
(url_flags & IMAP_URLAUTH_FETCH_FLAG_BODYPARTSTRUCTURE) != 0) {
- ret = imap_msgpart_url_get_bodypartstructure(
- mpurl, &bpstruct, &error);
+ ret = imap_msgpart_url_get_bodypartstructure(mpurl, 0,
+ &bpstruct, &error);
if (ret <= 0) {
errormsg = t_strdup_printf(
"Failed to read URLAUTH \"%s\": %s",