summaryrefslogtreecommitdiff
path: root/science/orthanc/files/patch-OrthancServer_Internals_StoreScp.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'science/orthanc/files/patch-OrthancServer_Internals_StoreScp.cpp')
-rw-r--r--science/orthanc/files/patch-OrthancServer_Internals_StoreScp.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/science/orthanc/files/patch-OrthancServer_Internals_StoreScp.cpp b/science/orthanc/files/patch-OrthancServer_Internals_StoreScp.cpp
new file mode 100644
index 000000000000..2c0b0d8f3c0a
--- /dev/null
+++ b/science/orthanc/files/patch-OrthancServer_Internals_StoreScp.cpp
@@ -0,0 +1,11 @@
+--- OrthancServer/Internals/StoreScp.cpp.orig 2015-02-12 13:47:38 UTC
++++ OrthancServer/Internals/StoreScp.cpp
+@@ -182,7 +182,7 @@ namespace Orthanc
+
+ // check the image to make sure it is consistent, i.e. that its sopClass and sopInstance correspond
+ // to those mentioned in the request. If not, set the status in the response message variable.
+- if ((rsp->DimseStatus == STATUS_Success))
++ if (rsp->DimseStatus == STATUS_Success)
+ {
+ // which SOP class and SOP instance ?
+ if (!DU_findSOPClassAndInstanceInDataSet(*imageDataSet, sopClass, sopInstance, /*opt_correctUIDPadding*/ OFFalse))