code before decl

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15806 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Michael Jerris 2009-12-07 00:07:23 +00:00
parent d9a8e5d7b2
commit d6f2852836
1 changed files with 4 additions and 6 deletions

View File

@ -1523,12 +1523,6 @@ SWITCH_STANDARD_API(pa_cmd)
char *wcmd = NULL, *action = NULL;
char cmd_buf[1024] = "";
char *http = NULL;
if (stream->param_event) {
http = switch_event_get_header(stream->param_event, "http-host");
}
const char *usage_string = "USAGE:\n"
"--------------------------------------------------------------------------------\n"
"alsa help\n"
@ -1540,6 +1534,10 @@ SWITCH_STANDARD_API(pa_cmd)
"alsa dtmf <digit string>\n"
"alsa flags [on|off] [ear] [mouth]\n" "--------------------------------------------------------------------------------\n";
if (stream->param_event) {
http = switch_event_get_header(stream->param_event, "http-host");
}
if (http) {
#if 0
switch_event_header_t *hp;