From 8de62867f533bb64d18aaa8defb8d0411462cee5 Mon Sep 17 00:00:00 2001 From: Anthony Minessale Date: Mon, 13 Jun 2011 13:43:14 -0500 Subject: [PATCH] doh --- src/mod/endpoints/mod_rtmp/rtmp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mod/endpoints/mod_rtmp/rtmp.c b/src/mod/endpoints/mod_rtmp/rtmp.c index f4fa2e6e1f..724e1b064f 100644 --- a/src/mod/endpoints/mod_rtmp/rtmp.c +++ b/src/mod/endpoints/mod_rtmp/rtmp.c @@ -240,7 +240,7 @@ switch_status_t amf_object_to_event(amf0_data *obj, switch_event_t **event) if (obj && obj->type == AMF0_TYPE_OBJECT) { amf0_node *node; - if (!event) { + if (!*event) { if ((status = switch_event_create(event, SWITCH_EVENT_CUSTOM)) != SWITCH_STATUS_SUCCESS) { return status; }