summaryrefslogtreecommitdiffstats
path: root/src/engine/ConnectionImpl.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/engine/ConnectionImpl.cpp')
-rw-r--r--src/engine/ConnectionImpl.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/engine/ConnectionImpl.cpp b/src/engine/ConnectionImpl.cpp
index 3ae82da9..9fec5700 100644
--- a/src/engine/ConnectionImpl.cpp
+++ b/src/engine/ConnectionImpl.cpp
@@ -101,7 +101,7 @@ ConnectionImpl::set_buffer_size(size_t size)
bool
ConnectionImpl::must_copy() const
{
- return (_dst_port->fixed_buffers() && (_src_port->poly() == _dst_port->poly()));
+ return (_dst_port->fixed_buffers() || (_src_port->poly() != _dst_port->poly()));
}