projects
/
cumulus.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
add some further documentation on the sftp backend
[cumulus.git]
/
metadata.cc
diff --git
a/metadata.cc
b/metadata.cc
index
8de1a00
..
2ae0751
100644
(file)
--- a/
metadata.cc
+++ b/
metadata.cc
@@
-98,7
+98,7
@@
static string encode_dict(const map<string, string>& dict)
string result;
if (dict.find("name") != dict.end()) {
string result;
if (dict.find("name") != dict.end()) {
- result += "name: " + dict.
at("name")
+ "\n";
+ result += "name: " + dict.
find("name")->second
+ "\n";
}
for (map<string, string>::const_iterator i = dict.begin();
}
for (map<string, string>::const_iterator i = dict.begin();
@@
-128,7
+128,7
@@
MetadataWriter::MetadataWriter(TarSegmentStore *store,
if (statcache_out == NULL) {
fprintf(stderr, "Error opening statcache %s: %m\n",
statcache_tmp_path.c_str());
if (statcache_out == NULL) {
fprintf(stderr, "Error opening statcache %s: %m\n",
statcache_tmp_path.c_str());
-
throw IOException
("Error opening statcache");
+
fatal
("Error opening statcache");
}
old_metadata_eof = false;
}
old_metadata_eof = false;