Skip to content

Commit

Permalink
json: do not write string after #0 symbol
Browse files Browse the repository at this point in the history
Signed-off-by: Sergey Linev <[email protected]>
  • Loading branch information
linev authored and pcanal committed Nov 7, 2016
1 parent 451bc27 commit 0d91d94
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions io/io/src/TBufferJSON.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -3059,6 +3059,7 @@ void TBufferJSON::JsonWriteConstChar(const char* value, Int_t len)

for (Int_t n=0;n<len;n++) {
char c = value[n];
if (c==0) break;
switch(c) {
case '\n':
fValue.Append("\\n");
Expand Down

0 comments on commit 0d91d94

Please sign in to comment.