diff options
author | David Robillard <d@drobilla.net> | 2011-05-13 23:32:42 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2011-05-13 23:32:42 +0000 |
commit | 162308c36dadbc5384d9074f6542b6105b2b8c52 (patch) | |
tree | 4cc5f8ddf47d7556ad20428c1da8638b34650ed2 /src/server/events | |
parent | 93947ee94eb79d76d31cd7ed3828135b9efa3781 (diff) | |
download | ingen-162308c36dadbc5384d9074f6542b6105b2b8c52.tar.gz ingen-162308c36dadbc5384d9074f6542b6105b2b8c52.tar.bz2 ingen-162308c36dadbc5384d9074f6542b6105b2b8c52.zip |
Apply 0002-Reformat-some-code-to-use-hard-tabs.patch from ticket #688, except with modifications to not add broken indentation.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@3263 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/server/events')
-rw-r--r-- | src/server/events/Disconnect.cpp | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/src/server/events/Disconnect.cpp b/src/server/events/Disconnect.cpp index e9374648..e7177fab 100644 --- a/src/server/events/Disconnect.cpp +++ b/src/server/events/Disconnect.cpp @@ -225,13 +225,13 @@ Disconnect::execute(ProcessContext& context) void Disconnect::post_process() { - if (_error == NO_ERROR) { - if (_request) - _request->respond_ok(); - _engine.broadcaster()->disconnect(_src_port->path(), _dst_port->path()); - } else { - string msg("Unable to disconnect "); - msg.append(_src_port_path.str() + " => " + _dst_port_path.str()); + if (_error == NO_ERROR) { + if (_request) + _request->respond_ok(); + _engine.broadcaster()->disconnect(_src_port->path(), _dst_port->path()); + } else { + string msg("Unable to disconnect "); + msg.append(_src_port_path.str() + " => " + _dst_port_path.str()); msg.append(" ("); switch (_error) { case PARENT_PATCH_DIFFERENT: @@ -256,11 +256,11 @@ Disconnect::post_process() break; } msg.append(")"); - if (_request) - _request->respond_error(msg); - } + if (_request) + _request->respond_error(msg); + } - delete _impl; + delete _impl; } } // namespace Server |