Mercurial > hg > orthanc
comparison OrthancServer/OrthancFindRequestHandler.cpp @ 1893:d7f63122c7f3
cppcheck
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Tue, 15 Dec 2015 17:22:52 +0100 |
parents | 512b6e76f531 |
children | e018037d4d0e |
comparison
equal
deleted
inserted
replaced
1892:0001f8cd7849 | 1893:d7f63122c7f3 |
---|---|
164 const DicomMap& source, | 164 const DicomMap& source, |
165 const std::string& remoteIp, | 165 const std::string& remoteIp, |
166 const std::string& remoteAet, | 166 const std::string& remoteAet, |
167 const std::string& calledAet) | 167 const std::string& calledAet) |
168 { | 168 { |
169 static const char* NAME = "IncomingFindRequestFilter"; | |
170 | |
171 Json::Value output; | 169 Json::Value output; |
172 | 170 |
173 { | 171 { |
174 LuaScripting::Locker locker(context_.GetLua()); | 172 LuaScripting::Locker locker(context_.GetLua()); |
173 static const char* NAME = "IncomingFindRequestFilter"; | |
175 | 174 |
176 if (!locker.GetLua().IsExistingFunction(NAME)) | 175 if (!locker.GetLua().IsExistingFunction(NAME)) |
177 { | 176 { |
178 return false; | 177 return false; |
179 } | 178 } |