[PATCH] Fix broken check for nonexisting port in 'connectTwoPort'

It results in a NULL pointer dereference.

Why did we have to discover this bug which exists since since February
2007 at the BRICS research camp? Argh :-)

---
deployment/DeploymentComponent.cpp | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/deployment/DeploymentComponent.cpp b/deployment/DeploymentComponent.cpp
index ec930ee..0b00830 100644
--- a/deployment/DeploymentComponent.cpp
+++ b/deployment/DeploymentComponent.cpp
@@ -296,7 +296,7 @@ namespace OCL
log(Error) << one <<" does not have a port "<<one_port<< endlog();
return false;
}
- if ( !b ) {
+ if ( !bp ) {
log(Error) << other <<" does not have a port "< return false;
}
>