comparison Plugins/Samples/Common/OrthancPluginCppWrapper.cpp @ 3319:df90c2a56acd

fix
author Sebastien Jodogne <s.jodogne@gmail.com>
date Mon, 04 Mar 2019 13:10:46 +0100
parents 872efde28e58
children 0f721f015b85
comparison
equal deleted inserted replaced
3318:b770435a93d3 3319:df90c2a56acd
1771 1771
1772 OrthancPluginMemoryBuffer answer; 1772 OrthancPluginMemoryBuffer answer;
1773 uint16_t status; 1773 uint16_t status;
1774 OrthancPluginErrorCode code = OrthancPluginCallPeerApi 1774 OrthancPluginErrorCode code = OrthancPluginCallPeerApi
1775 (GetGlobalContext(), &answer, NULL, &status, peers_, 1775 (GetGlobalContext(), &answer, NULL, &status, peers_,
1776 static_cast<uint32_t>(index), OrthancPluginHttpMethod_Put, uri.c_str(), 1776 static_cast<uint32_t>(index), OrthancPluginHttpMethod_Delete, uri.c_str(),
1777 0, NULL, NULL, NULL, 0, timeout_); 1777 0, NULL, NULL, NULL, 0, timeout_);
1778 1778
1779 if (code == OrthancPluginErrorCode_Success) 1779 if (code == OrthancPluginErrorCode_Success)
1780 { 1780 {
1781 OrthancPluginFreeMemoryBuffer(GetGlobalContext(), &answer); 1781 OrthancPluginFreeMemoryBuffer(GetGlobalContext(), &answer);