Mercurial > hg > orthanc
diff OrthancServer/DicomInstanceToStore.cpp @ 1854:e2c3d752ee1a
prevent too long tags to be inserted
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Tue, 01 Dec 2015 15:43:23 +0100 |
parents | 0ef4e6e66b56 |
children | b1291df2f780 |
line wrap: on
line diff
--- a/OrthancServer/DicomInstanceToStore.cpp Tue Dec 01 15:06:06 2015 +0100 +++ b/OrthancServer/DicomInstanceToStore.cpp Tue Dec 01 15:43:23 2015 +0100 @@ -114,7 +114,7 @@ *parsed_.GetContent().GetDcmtkObject().getDataset(), DicomToJsonFormat_Full, DicomToJsonFlags_Default, - 256 /* max string length */); + ORTHANC_MAXIMUM_TAG_LENGTH); } }