Przeglądaj źródła

[Minor] Ask for utf8 string from libarchive

pull/4843/head
Vsevolod Stakhov 2 miesięcy temu
rodzic
commit
d093bb5e0a
No account linked to committer's email address
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1
    1
      src/libmime/archives.c

+ 1
- 1
src/libmime/archives.c Wyświetl plik

@@ -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));

Ładowanie…
Anuluj
Zapisz