newly created files for use in recording appear in a .stubs folder, and are moved...
[ardour.git] / libs / ardour / port.cc
index 6ae0c5d92bdae344fa9fa31c17053a44d3c97a28..8bf08a7dff3d25105fdf6786f788372f9dbffb24 100644 (file)
@@ -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 ());
@@ -316,3 +317,4 @@ Port::physically_connected () const
 
         return false;
 }
+