summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/plugins/plugin.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/plugin.c b/src/plugins/plugin.c
index 0ca19e4..fb970b3 100644
--- a/src/plugins/plugin.c
+++ b/src/plugins/plugin.c
@@ -349,7 +349,7 @@ void g_plugin_module_log_simple_message(const GPluginModule *plugin, LogMessageT
size_t len; /* Taille tampon disponible */
char *buffer; /* Tampon du msg reconstitué */
- len = 3 +1 + strlen(plugin->interface->name) + 3 + 2 + strlen(msg) + 1;
+ len = 4 + strlen(plugin->interface->name) + 6 + strlen(msg) + 1;
buffer = calloc(len, sizeof(char));
strcpy(buffer, "<i>[");