From e613d58ea50fe82d835ec502d5c8440411457b9d Mon Sep 17 00:00:00 2001 From: Jeff Hill Date: Thu, 8 Jun 2000 16:55:24 +0000 Subject: [PATCH] fixed lock () where unlock() was needed --- src/ca/nciu.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ca/nciu.cpp b/src/ca/nciu.cpp index 52f28d475..78f04536f 100644 --- a/src/ca/nciu.cpp +++ b/src/ca/nciu.cpp @@ -228,7 +228,7 @@ int nciu::read ( unsigned type, unsigned long countIn, void *pValue ) hdr.m_postsize = 0; hdr.m_cid = this->sid; } - this->piiu->pcas->lock (); + this->piiu->pcas->unlock (); status = this->piiu->pushStreamMsg ( &hdr, NULL, true ); if ( status != ECA_NORMAL ) { @@ -520,7 +520,7 @@ int nciu::subscribe (unsigned type, unsigned long countIn, { netSubscription *pNetMon; - this->piiu->pcas->lock ();; + this->piiu->pcas->lock (); pNetMon = new netSubscription (*this, type, countIn, static_cast (mask), notify);