From 162308c36dadbc5384d9074f6542b6105b2b8c52 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Fri, 13 May 2011 23:32:42 +0000 Subject: 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 --- src/server/events/Disconnect.cpp | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) (limited to 'src/server/events/Disconnect.cpp') 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 -- cgit v1.2.1