Mercurial > hg > orthanc-dicomweb
changeset 490:a5e98f4af53d
remove false error
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Fri, 22 Jan 2021 16:10:36 +0100 |
parents | 4cb232b42168 |
children | ccca625b529c |
files | Plugin/Configuration.cpp |
diffstat | 1 files changed, 3 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/Plugin/Configuration.cpp Fri Jan 22 14:20:58 2021 +0100 +++ b/Plugin/Configuration.cpp Fri Jan 22 16:10:36 2021 +0100 @@ -769,8 +769,9 @@ std::string property; DicomWebServers::GetInstance().SerializeGlobalProperty(property); - if (!OrthancPluginSetGlobalProperty( - OrthancPlugins::GetGlobalContext(), GLOBAL_PROPERTY_SERVERS, property.c_str())) + if (OrthancPluginSetGlobalProperty( + OrthancPlugins::GetGlobalContext(), GLOBAL_PROPERTY_SERVERS, property.c_str()) != + OrthancPluginErrorCode_Success) { LOG(ERROR) << "Cannot write the DICOMweb servers into the database"; }