use switch_set_flag in a few places we were doing it manually before

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10534 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Michael Jerris
2008-11-25 18:21:44 +00:00
parent 1eea29a474
commit 926bc917ed
4 changed files with 6 additions and 6 deletions

View File

@@ -973,7 +973,7 @@ SWITCH_DECLARE(switch_status_t) switch_core_init(switch_core_flag_t flags, switc
runtime.dummy_cng_frame.data = runtime.dummy_data;
runtime.dummy_cng_frame.datalen = sizeof(runtime.dummy_data);
runtime.dummy_cng_frame.buflen = sizeof(runtime.dummy_data);
runtime.dummy_cng_frame.flags = SFF_CNG;
switch_set_flag(&runtime.dummy_cng_frame, SFF_CNG);
switch_set_flag((&runtime), SCF_NO_NEW_SESSIONS);
runtime.hard_log_level = SWITCH_LOG_DEBUG;