Mercurial > hg > orthanc
comparison OrthancServer/Internals/FindScp.cpp @ 722:3596177682a9
fix
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Fri, 14 Feb 2014 16:12:44 +0100 |
parents | 2d0a347e8cfc |
children | 0a2f8c707c78 |
comparison
equal
deleted
inserted
replaced
721:9b15028ddc1b | 722:3596177682a9 |
---|---|
93 // Internal error! | 93 // Internal error! |
94 response->DimseStatus = STATUS_FIND_Failed_UnableToProcess; | 94 response->DimseStatus = STATUS_FIND_Failed_UnableToProcess; |
95 *responseIdentifiers = NULL; | 95 *responseIdentifiers = NULL; |
96 return; | 96 return; |
97 } | 97 } |
98 | 98 |
99 if (responseCount <= static_cast<int>(data.answers_.GetSize())) | 99 if (responseCount <= static_cast<int>(data.answers_.GetSize())) |
100 { | 100 { |
101 response->DimseStatus = STATUS_Pending; | 101 response->DimseStatus = STATUS_Pending; |
102 *responseIdentifiers = ToDcmtkBridge::Convert(data.answers_.GetAnswer(responseCount - 1)); | 102 *responseIdentifiers = ToDcmtkBridge::Convert(data.answers_.GetAnswer(responseCount - 1)); |
103 } | 103 } |