handle sigterm and sigkill

This commit is contained in:
Max Lv
2014-11-12 11:52:34 +08:00
parent 84a5270f9c
commit 08a35fd1bb
15 changed files with 405 additions and 305 deletions
+2 -2
View File
@@ -392,10 +392,10 @@ json_value * json_parse_ex (json_settings * settings,
else
{
top->u.object.values [top->u.object.length].name
= (json_char *) top->_reserved.object_mem;
= (json_char *) top->_reserved.object_mem;
top->u.object.values [top->u.object.length].name_length
= string_length;
= string_length;
(*(json_char **) &top->_reserved.object_mem) += string_length + 1;
}