diff --git a/src/database/message-table.c b/src/database/message-table.c
index fe13750b18..3dc022bde8 100644
--- a/src/database/message-table.c
+++ b/src/database/message-table.c
@@ -1001,7 +1001,7 @@ static void format_gravity_restored_message(char *plain, const int sizeof_plain,
if(failed)
{
- if(snprintf(html, sizeof_html, "Gravity database damaged, restore attempt failed
Please check your filesystem for corruption, and your disk space for availability.") > sizeof_html)
+ if(snprintf(html, sizeof_html, "Gravity database damaged, restore attempt failed
Please check your filesystem for corruption, and your disk space for availability.") > sizeof_html)
log_warn("format_gravity_restored_message(): Buffer too small to hold HTML message, warning truncated");
}
else
@@ -1012,7 +1012,7 @@ static void format_gravity_restored_message(char *plain, const int sizeof_plain,
if(escaped_status == NULL)
return;
- if(snprintf(html, sizeof_html, "Gravity database damaged, restore attempt successful
The gravity database was restored using the backup file %s
Please check your filesystem for corruption, and your disk space for availability.", escaped_status) > sizeof_html)
+ if(snprintf(html, sizeof_html, "Gravity database damaged, restore attempt successful
The gravity database was restored using the backup file %s
Please check your filesystem for corruption, and your disk space for availability.", escaped_status) > sizeof_html)
free(escaped_status);
}