summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/server/PatchImpl.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/PatchImpl.cpp b/src/server/PatchImpl.cpp
index 4f26473f..51ac89af 100644
--- a/src/server/PatchImpl.cpp
+++ b/src/server/PatchImpl.cpp
@@ -431,7 +431,7 @@ PatchImpl::build_ports_array() const
for (Ports::const_iterator p = _outputs.begin(); p != _outputs.end(); ++p,++i)
result->at(i) = *p;
- assert(i == n - 1);
+ assert(i == n);
return result;
}