From 7b56706c1a15cb433f589c17b0e77ecf2fbedff6 Mon Sep 17 00:00:00 2001 From: Sebastian Messmer Date: Sun, 26 Jun 2016 15:37:00 -0700 Subject: [PATCH] Be explicit about types stored in config file --- src/cryfs/config/CryConfig.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/cryfs/config/CryConfig.cpp b/src/cryfs/config/CryConfig.cpp index a7bcdacb..1cc978f6 100644 --- a/src/cryfs/config/CryConfig.cpp +++ b/src/cryfs/config/CryConfig.cpp @@ -67,10 +67,10 @@ Data CryConfig::save() const { pt.put("cryfs.blocksizeBytes", _blocksizeBytes); pt.put("cryfs.filesystemId", _filesystemId.ToString()); if (_exclusiveClientId != none) { - pt.put("cryfs.exclusiveClientId", *_exclusiveClientId); + pt.put("cryfs.exclusiveClientId", *_exclusiveClientId); } #ifndef CRYFS_NO_COMPATIBILITY - pt.put("cryfs.migrations.hasVersionNumbers", _hasVersionNumbers); + pt.put("cryfs.migrations.hasVersionNumbers", _hasVersionNumbers); #endif stringstream stream;