summaryrefslogtreecommitdiff
path: root/libs/ardour/port.cc
diff options
context:
space:
mode:
authorCarl Hetherington <carl@carlh.net>2010-06-21 23:45:15 +0000
committerCarl Hetherington <carl@carlh.net>2010-06-21 23:45:15 +0000
commit51270cf148bbeb3026e3647fa9450c86fcb94b9c (patch)
tree718146ea1d537fa694eba889e925a277f0bb359f /libs/ardour/port.cc
parent6e138fa068197404a0ce8d80c06f9cbb283d225e (diff)
Coding style.
git-svn-id: svn://localhost/ardour2/branches/3.0@7286 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/port.cc')
-rw-r--r--libs/ardour/port.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/libs/ardour/port.cc b/libs/ardour/port.cc
index 5f29503fb6..8bf08a7dff 100644
--- a/libs/ardour/port.cc
+++ b/libs/ardour/port.cc
@@ -117,8 +117,9 @@ Port::connect (std::string const & other)
int r = 0;
- if (_connecting_blocked)
+ if (_connecting_blocked) {
return r;
+ }
if (sends_output ()) {
r = jack_connect (_engine->jack (), this_shrt.c_str (), other_shrt.c_str ());