Skip to content

Commit

Permalink
Needed \n in xjsonFieldToString()
Browse files Browse the repository at this point in the history
  • Loading branch information
attipaci committed Dec 12, 2024
1 parent e8ed1da commit 0e94e75
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/xjson.c
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,6 @@ char *xjsonFieldToString(const XField *f) {
return NULL;
}

str[n-1] = '\0';
return str;
}

Expand Down

0 comments on commit 0e94e75

Please sign in to comment.