}
}
else {
- msg = g_strconcat(_("File: %s. Size (%d) greater than limit (%d)\n"),
- outfile, (int) info.st_size, max);
+ msg = g_strdup_printf(_("File: %s. Size (%d) greater than limit (%d)\n"), outfile, (int) info.st_size, max);
statusbar_print_all("%s", msg);
- debug_print(msg);
+ debug_print("%s", msg);
g_free(msg);
}
}
if (message_callback != NULL)
message_callback(_("ClamAV: scanning message..."));
- debug_print("status: %d\n", result.status);
g_node_traverse(mimeinfo->node, G_PRE_ORDER, G_TRAVERSE_ALL, -1, scan_func, &result);
+ debug_print("status: %d\n", result.status);
if (result.status == VIRUS) {
if (config.clamav_recv_infected) {