aboutsummaryrefslogtreecommitdiff
path: root/src/function
diff options
context:
space:
mode:
Diffstat (limited to 'src/function')
-rw-r--r--src/function/read_directory.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/function/read_directory.cc b/src/function/read_directory.cc
index a3995ec..f4baff6 100644
--- a/src/function/read_directory.cc
+++ b/src/function/read_directory.cc
@@ -37,8 +37,8 @@ xercesc::DOMDocument* FunctionReadDirectory::constructDocument(
switch ( boost::filesystem::status(p).type() ) {
case boost::filesystem::regular_file: {
- result.setAttribute("type", "file");
- result.setValueNode("name", p.stem().string());
+ result.setAttribute("type", "file");
+ result.setValueNode("name", p.stem().string());
result.setValueNode("extension", p.extension().string());
break;