fix build
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16878 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
13336a930b
commit
fa9d5062ee
|
@ -228,7 +228,7 @@ SWITCH_STANDARD_APP(stress_start_function)
|
||||||
|
|
||||||
sth->session = session;
|
sth->session = session;
|
||||||
|
|
||||||
if ((status = switch_core_media_bug_add(session, stress_callback, sth, 0,
|
if ((status = switch_core_media_bug_add(session, "stress", NULL, stress_callback, sth, 0,
|
||||||
sth->read ? SMBF_READ_REPLACE : SMBF_WRITE_REPLACE, &bug)) != SWITCH_STATUS_SUCCESS) {
|
sth->read ? SMBF_READ_REPLACE : SMBF_WRITE_REPLACE, &bug)) != SWITCH_STATUS_SUCCESS) {
|
||||||
switch_log_printf(SWITCH_CHANNEL_SESSION_LOG(session), SWITCH_LOG_ERROR, "Failure!\n");
|
switch_log_printf(SWITCH_CHANNEL_SESSION_LOG(session), SWITCH_LOG_ERROR, "Failure!\n");
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Reference in New Issue