diff options
author | Russell Bryant <russell@russellbryant.com> | 2009-07-31 21:53:31 +0000 |
---|---|---|
committer | Russell Bryant <russell@russellbryant.com> | 2009-07-31 21:53:31 +0000 |
commit | 68a05b14c6f4cc2428c198f3e90331308a42b39d (patch) | |
tree | 1a9e27ae496f3f5240c436f7ffe9cbca9c20e29a /main/event.c | |
parent | c0582527181a846204ee014e838cf99807ab3112 (diff) |
Fix some places where ast_event_type was used instead of ast_event_ie_type.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@209711 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'main/event.c')
-rw-r--r-- | main/event.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/main/event.c b/main/event.c index 44c65714d..351323a9d 100644 --- a/main/event.c +++ b/main/event.c @@ -365,9 +365,9 @@ enum ast_event_subscriber_res ast_event_check_subscriber(enum ast_event_type typ } va_start(ap, type); - for (ie_type = va_arg(ap, enum ast_event_type); + for (ie_type = va_arg(ap, enum ast_event_ie_type); ie_type != AST_EVENT_IE_END; - ie_type = va_arg(ap, enum ast_event_type)) + ie_type = va_arg(ap, enum ast_event_ie_type)) { struct ast_event_ie_val *ie_value = alloca(sizeof(*ie_value)); int insert = 1; @@ -819,9 +819,9 @@ struct ast_event_sub *ast_event_subscribe(enum ast_event_type type, ast_event_cb ast_copy_string(sub->description, description, sizeof(sub->description)); va_start(ap, userdata); - for (ie_type = va_arg(ap, enum ast_event_type); + for (ie_type = va_arg(ap, enum ast_event_ie_type); ie_type != AST_EVENT_IE_END; - ie_type = va_arg(ap, enum ast_event_type)) + ie_type = va_arg(ap, enum ast_event_ie_type)) { enum ast_event_ie_pltype ie_pltype; @@ -1065,7 +1065,7 @@ struct ast_event *ast_event_new(enum ast_event_type type, ...) { va_list ap; struct ast_event *event; - enum ast_event_type ie_type; + enum ast_event_ie_type ie_type; struct ast_event_ie_val *ie_val; AST_LIST_HEAD_NOLOCK_STATIC(ie_vals, ast_event_ie_val); @@ -1077,9 +1077,9 @@ struct ast_event *ast_event_new(enum ast_event_type type, ...) } va_start(ap, type); - for (ie_type = va_arg(ap, enum ast_event_type); + for (ie_type = va_arg(ap, enum ast_event_ie_type); ie_type != AST_EVENT_IE_END; - ie_type = va_arg(ap, enum ast_event_type)) + ie_type = va_arg(ap, enum ast_event_ie_type)) { struct ast_event_ie_val *ie_value = alloca(sizeof(*ie_value)); int insert = 1; @@ -1218,9 +1218,9 @@ struct ast_event *ast_event_get_cached(enum ast_event_type type, ...) } va_start(ap, type); - for (ie_type = va_arg(ap, enum ast_event_type); + for (ie_type = va_arg(ap, enum ast_event_ie_type); ie_type != AST_EVENT_IE_END; - ie_type = va_arg(ap, enum ast_event_type)) + ie_type = va_arg(ap, enum ast_event_ie_type)) { enum ast_event_ie_pltype ie_pltype; |