This concludes bringing trunk back to a working state.
authorJoshua Colp <jcolp@digium.com>
Wed, 29 Aug 2007 16:07:35 +0000 (16:07 +0000)
committerJoshua Colp <jcolp@digium.com>
Wed, 29 Aug 2007 16:07:35 +0000 (16:07 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@81345 65c4cc65-6c06-0410-ace0-fbb531ad65f3

main/event.c

index 73858c8..a905f63 100644 (file)
@@ -427,6 +427,7 @@ const void *ast_event_get_ie_raw(const struct ast_event *event, enum ast_event_i
        while ((((void *) ie) - ((void *) event)) < event_len) {
                if (ie->ie_type == ie_type)
                        return ie->ie_payload;
+               ie = ((void *) ie) + sizeof(*ie) + ntohs(ie->ie_payload_len);
        }
        
        return NULL;