diff options
author | Felix Burton | 2012-05-02 01:55:59 +0000 |
---|---|---|
committer | Felix Burton | 2012-05-02 01:55:59 +0000 |
commit | f0f03c2ec4fe2919a717993fc34c86280215057a (patch) | |
tree | 4868c1b50fb618b226d1400f837396f7d53952f8 | |
parent | 742370f8aa3cbec12b2df414513acc30aa765634 (diff) | |
download | org.eclipse.tcf.agent-f0f03c2ec4fe2919a717993fc34c86280215057a.tar.gz org.eclipse.tcf.agent-f0f03c2ec4fe2919a717993fc34c86280215057a.tar.xz org.eclipse.tcf.agent-f0f03c2ec4fe2919a717993fc34c86280215057a.zip |
TCF Agent: fixed json formatting error for register context values
-rw-r--r-- | agent/tcf/services/registers.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/agent/tcf/services/registers.c b/agent/tcf/services/registers.c index 11afc345..e4dc1bd7 100644 --- a/agent/tcf/services/registers.c +++ b/agent/tcf/services/registers.c @@ -152,7 +152,7 @@ static void write_context(OutputStream * out, char * id, while (reg_def->values[i] != NULL) { NamedRegisterValue * v = reg_def->values[i++]; if (i > 0) write_stream(out, ','); - write_stream(out, '('); + write_stream(out, '{'); json_write_string(out, "Value"); write_stream(out, ':'); json_write_binary(out, v->value, reg_def->size); |