projects
/
claws.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
8b9a932
)
Fix bug in string thanks to Mones
author
Michael Rasmussen
<mir@datanom.net>
Tue, 22 Apr 2014 00:51:04 +0000
(
02:51
+0200)
committer
Michael Rasmussen
<mir@datanom.net>
Tue, 22 Apr 2014 00:51:04 +0000
(
02:51
+0200)
src/plugins/clamd/clamav_plugin.c
patch
|
blob
|
history
diff --git
a/src/plugins/clamd/clamav_plugin.c
b/src/plugins/clamd/clamav_plugin.c
index 87a8fb742764fc92ff70b9fcc5020f9ba2562efc..45f2fb3a5dd9e091e109167e1b5ad4c2cfa9edfe 100644
(file)
--- 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 {
}
}
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);
statusbar_print_all("%s", msg);
debug_print(msg);
g_free(msg);