From 60699c48c2049f01a2eb5cbb08b4e9539d92e573 Mon Sep 17 00:00:00 2001 From: Michael Davidsaver Date: Wed, 25 Apr 2018 15:09:21 -0700 Subject: [PATCH] pvalink misc --- pdbApp/pvalink_channel.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/pdbApp/pvalink_channel.cpp b/pdbApp/pvalink_channel.cpp index a2fc64f..f1fefd1 100644 --- a/pdbApp/pvalink_channel.cpp +++ b/pdbApp/pvalink_channel.cpp @@ -105,8 +105,6 @@ pvd::StructureConstPtr putRequestType = pvd::getFieldCreate()->createFieldBuilde // call with channel lock held void pvaLinkChannel::put(bool force) { - if(!connected) return; - pvd::PVStructurePtr pvReq(pvd::getPVDataCreate()->createPVStructure(putRequestType)); pvReq->getSubFieldT("record._options.block")->put(false); // TODO: some way to expose completion... @@ -147,7 +145,7 @@ void pvaLinkChannel::put(bool force) * TODO: per field granularity? */ const char *proc = "passive"; - if(reqProcess&2) { + if((reqProcess&2) || force) { proc = "true"; } else if(reqProcess&1) { proc = "false";