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);