commit 03b87062150026a55495fa2814f256886f84f848
parent 8b9a9329b104f4b3581fe1f18e7c4b644134be25
Author: Michael Rasmussen <mir@datanom.net>
Date: Tue, 22 Apr 2014 02:51:04 +0200
Fix bug in string thanks to Mones
Diffstat:
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/src/plugins/clamd/clamav_plugin.c b/src/plugins/clamd/clamav_plugin.c
@@ -143,8 +143,7 @@ static gboolean scan_func(GNode *node, gpointer data)
}
}
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);
g_free(msg);