Fix /stasis/res/app_replaced unit test.
authorDavid M. Lee <dlee@digium.com>
Fri, 26 Jul 2013 17:42:08 +0000 (17:42 +0000)
committerDavid M. Lee <dlee@digium.com>
Fri, 26 Jul 2013 17:42:08 +0000 (17:42 +0000)
commitb6f9b398308865fcb2c42995d4277e10ab9518e7
tree55afbe94f436f38585831e1a7b2d8aa1935c98de
parent9a46c1d0199e5e3627665b68f88d4ec21f09d2a9
Fix /stasis/res/app_replaced unit test.

A typo in recent changes caused the JSON ApplicationReplaced message to
fail to build, so the message wasn't being sent out the WebSocket.

Related, the replaced application would also unregister itself when it
disconnected, which would actually unregister the new application. This
was also fixed.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@395527 65c4cc65-6c06-0410-ace0-fbb531ad65f3
res/stasis/app.c
res/stasis_http/resource_events.c