summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'utils.h')
-rw-r--r--utils.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/utils.h b/utils.h
index 3779614..305a018 100644
--- a/utils.h
+++ b/utils.h
@@ -110,10 +110,10 @@ status_t fetchAllInformation(const std::string& path, const XmlConverter<T>& con
110 return result; 110 return result;
111 } 111 }
112 112
113 bool success = converter(outObject, info); 113 bool success = converter(outObject, info, error);
114 if (!success) { 114 if (!success) {
115 if (error) { 115 if (error) {
116 *error = "Illformed file: " + path + ": " + converter.lastError(); 116 *error = "Illformed file: " + path + ": " + *error;
117 } 117 }
118 return BAD_VALUE; 118 return BAD_VALUE;
119 } 119 }