Coverity: CID 197580, 198376, 198378, 198379
goto cleanup;
}
- mutt_buffer_printf(newfile, "%s/%s", mutt_b2s(newdir), NONULL(basename));
+ mutt_buffer_printf(newfile, "%s/%s", newdir->data, NONULL(basename));
cleanup:
mutt_buffer_free(&parent);
*suffix = '\0';
suffix++;
}
- mutt_buffer_mktemp_pfx_sfx(buf, mutt_b2s(prefix), suffix);
+ mutt_buffer_mktemp_pfx_sfx(buf, prefix->data, suffix);
out:
mutt_buffer_pool_release(&prefix);
mutt_email_free(&e);
/* Avoid infinite recursion if the resulting folder starts with '@' */
- if (*(mutt_b2s(p)) != '@')
+ if (*p->data != '@')
recurse = true;
tail = "";
mutt_error(_("No messages matched criteria"));
/* record new limit pattern, unless match all */
- const char *pbuf = mutt_b2s(buf);
+ const char *pbuf = buf->data;
while (*pbuf == ' ')
pbuf++;
if (mutt_str_strcmp(pbuf, "~A") != 0)