summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2015-12-06 16:14:52 +0000
committerCarl Hetherington <cth@carlh.net>2015-12-06 16:14:52 +0000
commit113ed92b6a998705746496f009191bf8d2d98871 (patch)
tree6cdac246f2a20067c6d8d4e594b51ede2e6e89e1 /src
parent06851d8baa70ddcf0da088fcce24ba24114cc7de (diff)
Add comment.
Diffstat (limited to 'src')
-rw-r--r--src/cpl.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/cpl.cc b/src/cpl.cc
index c38fd06c..6b2419ae 100644
--- a/src/cpl.cc
+++ b/src/cpl.cc
@@ -255,6 +255,7 @@ CPL::write_xml (bool interop, XMLMetadata const & metadata, shared_ptr<const Sig
doc.write_to_file (p.string (), "UTF-8");
_digest = make_digest (p.string (), 0);
+ /* XXX: completely wrong! */
_length = boost::filesystem::file_size (p.string ());
}