From: Michael Jerris Date: Wed, 3 Mar 2010 14:16:14 +0000 (+0000) Subject: fix build X-Git-Tag: v1.0.6~262 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fa9d5062ee58e42e5c8767abf4c10cdcd8f4855a;p=thirdparty%2Ffreeswitch.git fix build git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16878 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- diff --git a/src/mod/applications/mod_stress/mod_stress.cpp b/src/mod/applications/mod_stress/mod_stress.cpp index 21b2bee0ad..37fe45e073 100644 --- a/src/mod/applications/mod_stress/mod_stress.cpp +++ b/src/mod/applications/mod_stress/mod_stress.cpp @@ -228,7 +228,7 @@ SWITCH_STANDARD_APP(stress_start_function) 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) { switch_log_printf(SWITCH_CHANNEL_SESSION_LOG(session), SWITCH_LOG_ERROR, "Failure!\n"); return;