Mercurial > hg > orthanc
comparison OrthancServer/ParsedDicomFile.cpp @ 908:e078ea944089 plugins
refactoring HttpOutput
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Thu, 19 Jun 2014 17:47:39 +0200 |
parents | 87791ebc1f50 |
children | 509e146c3cb3 |
comparison
equal
deleted
inserted
replaced
907:9b8298234254 | 908:e078ea944089 |
---|---|
277 | 277 |
278 OFCondition cond = element.getPartialValue(&buffer[0], offset, nbytes); | 278 OFCondition cond = element.getPartialValue(&buffer[0], offset, nbytes); |
279 | 279 |
280 if (cond.good()) | 280 if (cond.good()) |
281 { | 281 { |
282 output.GetLowLevelOutput().Send(&buffer[0], nbytes); | 282 output.GetLowLevelOutput().SendBodyData(&buffer[0], nbytes); |
283 offset += nbytes; | 283 offset += nbytes; |
284 } | 284 } |
285 else | 285 else |
286 { | 286 { |
287 LOG(ERROR) << "Error while sending a DICOM field: " << cond.text(); | 287 LOG(ERROR) << "Error while sending a DICOM field: " << cond.text(); |