Skip to content

Commit

Permalink
Fix objects cache dump in compat for multiline vars
Browse files Browse the repository at this point in the history
Multiline vars should be written as:
  _test test1\ntest2

And not
  _test test1
test2

fixes #9328

Signed-off-by: Michael Friedrich <[email protected]>
  • Loading branch information
lazyfrosch authored and Michael Friedrich committed Jun 15, 2015
1 parent 47c8b5e commit 213300c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/compat/statusdatawriter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -531,7 531,7 @@ void StatusDataWriter::DumpCustomAttributes(std::ostream& fp, const CustomVarObj
value = JsonEncode(kv.second);
is_json = true;
} else
value = kv.second;
value = CompatUtility::EscapeString(kv.second);

fp << "\t" "_" << kv.first << "\t" << value << "\n";
}
Expand Down

0 comments on commit 213300c

Please sign in to comment.