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