]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
set default
authorAnthony Minessale <anthony.minessale@gmail.com>
Tue, 19 Sep 2006 19:13:08 +0000 (19:13 +0000)
committerAnthony Minessale <anthony.minessale@gmail.com>
Tue, 19 Sep 2006 19:13:08 +0000 (19:13 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2756 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/switch_ivr.c

index 220348a843dac3a26517c52868df4d5f94747252..ef6aabea4515050297bfd9cf0f394c813826f9ec 100644 (file)
@@ -1655,9 +1655,9 @@ SWITCH_DECLARE(switch_status_t) switch_ivr_originate(switch_core_session_t *sess
                                                                                                         )
                                                                                  
 {
-       char *peer_names[MAX_PEERS];
-       switch_core_session_t *peer_session, *peer_sessions[MAX_PEERS];
-       switch_caller_profile_t *caller_profiles[MAX_PEERS], *caller_caller_profile;
+       char *peer_names[MAX_PEERS] = {0};
+       switch_core_session_t *peer_session, *peer_sessions[MAX_PEERS] = {0};
+       switch_caller_profile_t *caller_profiles[MAX_PEERS] = {0}, *caller_caller_profile;
        char *chan_type = NULL, *chan_data;
        switch_channel_t *peer_channel = NULL, *peer_channels[MAX_PEERS] = {0};
        time_t start;