Include segment checksums as "Checksums" not "Checksum-File" in descriptor.
authorMichael Vrable <mvrable@cs.ucsd.edu>
Fri, 10 Aug 2007 17:59:33 +0000 (10:59 -0700)
committerMichael Vrable <mvrable@turin.ucsd.edu>
Fri, 10 Aug 2007 17:59:33 +0000 (10:59 -0700)
Avoid the use of a dash in a key name in the descriptor file, since it is
not well-tesetd with the various tools.

scandir.cc

index 9075e51..d91701f 100644 (file)
@@ -778,7 +778,7 @@ int main(int argc, char *argv[])
 
     SHA1Checksum checksum_csum;
     if (checksum_csum.process_file(checksum_filename.c_str())) {
-        descriptor << "Checksum-File: " << checksum_csum.checksum_str() << "\n";
+        descriptor << "Checksums: " << checksum_csum.checksum_str() << "\n";
     }
 
     descriptor << "Segments:\n";