diff options
author | russell <russell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2009-07-31 21:56:41 +0000 |
---|---|---|
committer | russell <russell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2009-07-31 21:56:41 +0000 |
commit | 067a66abdd994649f83cfb06f353bb5b3f0d698d (patch) | |
tree | 8825cf705378e35e8e89c0ca0b8cb8044f20f87d /main | |
parent | ec1e915f34d10e5d155d090f89695e413fc2627f (diff) |
Merged revisions 209711 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk
........
r209711 | russell | 2009-07-31 16:53:31 -0500 (Fri, 31 Jul 2009) | 2 lines
Fix some places where ast_event_type was used instead of ast_event_ie_type.
........
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@209712 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'main')
-rw-r--r-- | main/event.c | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/main/event.c b/main/event.c index 17a25d25f..4479b53f7 100644 --- a/main/event.c +++ b/main/event.c @@ -147,9 +147,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_val = alloca(sizeof(*ie_val)); memset(ie_val, 0, sizeof(*ie_val)); @@ -275,9 +275,9 @@ struct ast_event_sub *ast_event_subscribe(enum ast_event_type type, ast_event_cb return NULL; 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)) { struct ast_event_ie_val *ie_val; if (!(ie_val = ast_calloc(1, sizeof(*ie_val)))) @@ -478,7 +478,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); @@ -490,9 +490,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_val = alloca(sizeof(*ie_val)); memset(ie_val, 0, sizeof(*ie_val)); @@ -574,9 +574,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)) { cache_arg = alloca(sizeof(*cache_arg)); memset(cache_arg, 0, sizeof(*cache_arg)); @@ -668,9 +668,9 @@ int ast_event_queue_and_cache(struct ast_event *event, ...) } va_start(ap, event); - 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)) { cache_arg = alloca(sizeof(*cache_arg)); memset(cache_arg, 0, sizeof(*cache_arg)); |