]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
doh
authorAnthony Minessale <anthm@freeswitch.org>
Mon, 13 Jun 2011 18:43:14 +0000 (13:43 -0500)
committerAnthony Minessale <anthm@freeswitch.org>
Mon, 13 Jun 2011 18:43:14 +0000 (13:43 -0500)
src/mod/endpoints/mod_rtmp/rtmp.c

index f4fa2e6e1f7d498882ccaa5350011276ef569621..724e1b064fff4217bf14a232f5cee138460d9d80 100644 (file)
@@ -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;
                        }