minor
This commit is contained in:
@ -4,6 +4,7 @@
|
|||||||
#include <epicsString.h>
|
#include <epicsString.h>
|
||||||
#include <epicsTimer.h>
|
#include <epicsTimer.h>
|
||||||
|
|
||||||
|
#include <pv/logger.h>
|
||||||
#include <pv/pvIntrospect.h> /* for pvdVersion.h */
|
#include <pv/pvIntrospect.h> /* for pvdVersion.h */
|
||||||
#include <pv/epicsException.h>
|
#include <pv/epicsException.h>
|
||||||
#include <pv/serverContext.h>
|
#include <pv/serverContext.h>
|
||||||
@ -40,14 +41,8 @@ GWServerChannelProvider::channelFind(std::string const & channelName,
|
|||||||
|
|
||||||
if(!channelName.empty())
|
if(!channelName.empty())
|
||||||
{
|
{
|
||||||
std::string newName;
|
LOG(pva::logLevelDebug, "Searching for '%s'", channelName.c_str());
|
||||||
|
ChannelCacheEntry::shared_pointer ent(cache.lookup(channelName));
|
||||||
// rewrite name
|
|
||||||
newName = channelName;
|
|
||||||
//newName[0] = 'y';
|
|
||||||
|
|
||||||
|
|
||||||
ChannelCacheEntry::shared_pointer ent(cache.lookup(newName));
|
|
||||||
if(ent) {
|
if(ent) {
|
||||||
found = true;
|
found = true;
|
||||||
ret = shared_from_this();
|
ret = shared_from_this();
|
||||||
|
Reference in New Issue
Block a user