mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-03-13 12:40:17 +00:00
minor tweaks
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6497 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
85d374dbd7
commit
3fc65e3d96
@ -49,6 +49,10 @@ SWITCH_STANDARD_API(find_user_function)
|
||||
char *key, *user, *domain;
|
||||
char *xmlstr;
|
||||
|
||||
if (stream->event && switch_event_get_header(stream->event, "http-host")) {
|
||||
stream->write_function(stream, "Content-Type: text/xml\r\n\r\n");
|
||||
}
|
||||
|
||||
if (!cmd) {
|
||||
stream->write_function(stream, "bad args\n");
|
||||
goto end;
|
||||
|
Loading…
x
Reference in New Issue
Block a user