]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
forgot to print ok
authorAnthony Minessale <anthony.minessale@gmail.com>
Wed, 20 Jan 2010 18:44:35 +0000 (18:44 +0000)
committerAnthony Minessale <anthony.minessale@gmail.com>
Wed, 20 Jan 2010 18:44:35 +0000 (18:44 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16419 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/mod/applications/mod_commands/mod_commands.c

index 042aa68babcd5ae857f951b39fbb976c4a7447f6..ca5c303c43aa0763b0cb2142010baac7e37fd8e9 100644 (file)
@@ -58,6 +58,8 @@ SWITCH_STANDARD_API(shutdown_function)
 {
        switch_session_ctl_t command = SCSC_SHUTDOWN;
        int arg = 0;
+
+       stream->write_function(stream, "+OK\n");
        switch_core_session_ctl(command, &arg);
 
        return SWITCH_STATUS_SUCCESS;