]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
bad merge
authorAnthony Minessale <anthm@freeswitch.org>
Wed, 7 Nov 2012 20:57:08 +0000 (14:57 -0600)
committerAnthony Minessale <anthm@freeswitch.org>
Wed, 7 Nov 2012 20:57:08 +0000 (14:57 -0600)
src/mod/endpoints/mod_sofia/sofia_glue.c

index cf89cba93cf64a970d8623b5647ec8ca1a9ccdc2..74096a3173ab06e77fb78e872fd96cacc30956dd 100644 (file)
@@ -7162,23 +7162,6 @@ void sofia_event_fire(sofia_profile_t *profile, switch_event_t **event)
        *event = NULL;
 }
 
-void sofia_glue_fire_events(sofia_profile_t *profile)
-{
-       void *pop = NULL;
-
-       while (profile->event_queue && switch_queue_trypop(profile->event_queue, &pop) == SWITCH_STATUS_SUCCESS && pop) {
-               switch_event_t *event = (switch_event_t *) pop;
-               switch_event_fire(&event);
-       }
-
-}
-
-void sofia_event_fire(sofia_profile_t *profile, switch_event_t **event)
-{
-       switch_queue_push(profile->event_queue, *event);
-       *event = NULL;
-}
-
 
 /* For Emacs:
  * Local Variables: