mod_lcr: fix compiler warning on newer gcc

This commit is contained in:
Mathieu Rene committed 2010-08-14 16:50:06 -04:00
1 parent 6980305f3a
commit bfa414cb0f
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -1231,7 +1231,7 @@ SWITCH_DECLARE(switch_xml_t) switch_event_xmlize(switch_event_t *event, const ch
return xml;
}
if (fmt) {
if (!zstr(fmt)) {
va_start(ap, fmt);
#ifdef HAVE_VASPRINTF
ret = vasprintf(&data, fmt, ap);