Mercurial > hg > orthanc
comparison Core/HttpClient.cpp @ 2474:0c57f40e2fbf
fix
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Thu, 08 Feb 2018 11:51:41 +0100 |
parents | 0f463989f7e3 |
children | 0196d07a900f |
comparison
equal
deleted
inserted
replaced
2473:0f463989f7e3 | 2474:0c57f40e2fbf |
---|---|
86 { | 86 { |
87 #if ORTHANC_ENABLE_SSL == 1 | 87 #if ORTHANC_ENABLE_SSL == 1 |
88 return GetHttpStatus(curl_easy_perform(curl), curl, status); | 88 return GetHttpStatus(curl_easy_perform(curl), curl, status); |
89 #else | 89 #else |
90 LOG(ERROR) << "Orthanc was compiled without SSL support, cannot make HTTPS request"; | 90 LOG(ERROR) << "Orthanc was compiled without SSL support, cannot make HTTPS request"; |
91 throw OrthancException(ErrorCode_InternalError); | 91 throw Orthanc::OrthancException(Orthanc::ErrorCode_InternalError); |
92 #endif | 92 #endif |
93 } | 93 } |
94 } | 94 } |
95 | 95 |
96 | 96 |