From: cypromis Date: Thu, 29 Jul 2010 10:09:49 +0000 (+0200) Subject: Fix for ESL-44, thank you to Lakschmanan for providing the Patch X-Git-Tag: v1.2-rc1~526^2~73 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=910729b5ddf960e43091f001ce3d1c52ff6cc773;p=thirdparty%2Ffreeswitch.git Fix for ESL-44, thank you to Lakschmanan for providing the Patch --- diff --git a/libs/esl/src/esl_oop.cpp b/libs/esl/src/esl_oop.cpp index 231950f892..0ea88e17cc 100644 --- a/libs/esl/src/esl_oop.cpp +++ b/libs/esl/src/esl_oop.cpp @@ -351,6 +351,10 @@ const char *ESLevent::serialize(const char *format) esl_safe_free(serialized_string); + if (format == NULL) { + format = "text"; + } + if (!event) { return ""; }