Fix for ESL-44, thank you to Lakschmanan for providing the Patch

This commit is contained in:
cypromis 2010-07-29 12:09:49 +02:00
parent 3515c7a020
commit 910729b5dd
1 changed files with 4 additions and 0 deletions

View File

@ -351,6 +351,10 @@ const char *ESLevent::serialize(const char *format)
esl_safe_free(serialized_string);
if (format == NULL) {
format = "text";
}
if (!event) {
return "";
}