From c633b4fd707627daabbbc95163c8d61ca02aa2e3 Mon Sep 17 00:00:00 2001 From: Jeff Hill Date: Wed, 25 Jun 1997 05:56:38 +0000 Subject: [PATCH] align with API changes --- src/cas/example/testdb/pvServ.cc | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/src/cas/example/testdb/pvServ.cc b/src/cas/example/testdb/pvServ.cc index a5eaf2d7a..d0ddc4ffe 100644 --- a/src/cas/example/testdb/pvServ.cc +++ b/src/cas/example/testdb/pvServ.cc @@ -1,6 +1,9 @@ // $Id$ // $Log$ +// Revision 1.3 1997/06/13 09:15:47 jhill +// connect proto changes +// // Revision 1.2 1997/03/05 21:16:22 jbk // Fixes cvs log id at top // @@ -150,7 +153,7 @@ pvExistReturn serv::pvExistTest(const casCtx&,const char* pvname) { int val; dBase* node=NULL; - caStatus rc=S_casApp_pvNotFound; + pvExistReturnEnum rc=pverDoesNotExistHere; if(strncmp(pvname,prefix,prefix_len)==0) { @@ -161,13 +164,12 @@ pvExistReturn serv::pvExistTest(const casCtx&,const char* pvname) { Debug("ExistTest: I have this PV\n"); node=&db_sync[val]; - rc=S_casApp_success; + rc=pverExistsHere; } } } - return (rc==S_casApp_success)?pvExistReturn(rc,node->pvname): - pvExistReturn(rc); + return pvExistReturn(rc); } pvCreateReturn serv::createPV(const casCtx& in,const char* pvname)