Ver código fonte

[Minor] Ask for utf8 string from libarchive

pull/4843/head
Vsevolod Stakhov 2 meses atrás
pai
commit
d093bb5e0a
Nenhuma conta vinculada ao e-mail do autor do commit
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1
    1
      src/libmime/archives.c

+ 1
- 1
src/libmime/archives.c Ver arquivo

@@ -1683,7 +1683,7 @@ rspamd_7zip_read_next_section(struct rspamd_task *task,
struct archive_entry *ae;

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) {
msg_debug_archive("7zip: found file %s", name);
struct rspamd_archive_file *f = g_malloc0(sizeof(*f));

Carregando…
Cancelar
Salvar