diff --git a/src/mqtt.c b/src/mqtt.c
index 4977f6841e72454c46ecbb35f5c995254dd48e3f..0b00bab860939ede191e8aa5a278bb7cce8d76f1 100644 (file)
--- a/src/mqtt.c
+++ b/src/mqtt.c
conf = calloc (1, sizeof (*conf));
if (conf == NULL)
{
- ERROR ("mqtt plugin: malloc failed.");
+ ERROR ("mqtt plugin: calloc failed.");
return (-1);
}
conf->publish = 1;
conf = calloc (1, sizeof (*conf));
if (conf == NULL)
{
- ERROR ("mqtt plugin: malloc failed.");
+ ERROR ("mqtt plugin: calloc failed.");
return (-1);
}
conf->publish = 0;