mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-03-13 12:40:17 +00:00
tweak
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11030 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
938cf9f1de
commit
4da6ddc615
@ -1824,7 +1824,7 @@ static void *SWITCH_THREAD_FUNC listener_run(switch_thread_t *thread, void *obj)
|
|||||||
switch_mutex_unlock(listener->filter_mutex);
|
switch_mutex_unlock(listener->filter_mutex);
|
||||||
if (listener->sock) {
|
if (listener->sock) {
|
||||||
char disco_buf[512] = "";
|
char disco_buf[512] = "";
|
||||||
const char message[] = "Disconnected, goodbye!\nSee you at ClueCon http://www.cluecon.com!\n";
|
const char message[] = "Disconnected, goodbye!\nSee you at ClueCon http://www.cluecon.com/ !!!\n";
|
||||||
int mlen = strlen(message);
|
int mlen = strlen(message);
|
||||||
|
|
||||||
switch_snprintf(disco_buf, sizeof(disco_buf), "Content-Type: text/disconnect-notice\nContent-Length: %d\n\n", mlen);
|
switch_snprintf(disco_buf, sizeof(disco_buf), "Content-Type: text/disconnect-notice\nContent-Length: %d\n\n", mlen);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user