# HG changeset patch # User Sebastien Jodogne # Date 1639218795 -3600 # Node ID b2e08d83e21d2952deb6df8b0801e51193c91681 # Parent 55e8fb8e8028fb41938412f8692ad15e69859f54 fix OrthancPlugins::HttpClient::ClearCredentials() diff -r 55e8fb8e8028 -r b2e08d83e21d OrthancServer/Plugins/Samples/Common/OrthancPluginCppWrapper.cpp --- a/OrthancServer/Plugins/Samples/Common/OrthancPluginCppWrapper.cpp Tue Dec 07 14:01:17 2021 +0100 +++ b/OrthancServer/Plugins/Samples/Common/OrthancPluginCppWrapper.cpp Sat Dec 11 11:33:15 2021 +0100 @@ -2596,8 +2596,8 @@ void HttpClient::ClearCredentials() { - username_.empty(); - password_.empty(); + username_.clear(); + password_.clear(); }