浏览代码

[Minor] Ask for utf8 string from libarchive

pull/4843/head
Vsevolod Stakhov 3 个月前
父节点
当前提交
d093bb5e0a
没有帐户链接到提交者的电子邮件
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1
    1
      src/libmime/archives.c

+ 1
- 1
src/libmime/archives.c 查看文件

struct archive_entry *ae; struct archive_entry *ae;


while (archive_read_next_header(a, &ae) == ARCHIVE_OK) { while (archive_read_next_header(a, &ae) == ARCHIVE_OK) {
const char *name = archive_entry_pathname(ae);
const char *name = archive_entry_pathname_utf8(ae);
if (name) { if (name) {
msg_debug_archive("7zip: found file %s", name); msg_debug_archive("7zip: found file %s", name);
struct rspamd_archive_file *f = g_malloc0(sizeof(*f)); struct rspamd_archive_file *f = g_malloc0(sizeof(*f));

正在加载...
取消
保存