mirror of
https://github.com/tstack/lnav
synced 2024-11-17 15:29:40 +00:00
Merge pull request #112 from sureshsundriyal/master
Reduce session_data filesize and some minor cleanup.
This commit is contained in:
commit
3c69ffb5be
@ -1183,7 +1183,6 @@ void save_session(void)
|
|||||||
perror("Unable to create yajl_gen object");
|
perror("Unable to create yajl_gen object");
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
yajl_gen_config(handle, yajl_gen_beautify, 1);
|
|
||||||
yajl_gen_config(handle,
|
yajl_gen_config(handle,
|
||||||
yajl_gen_print_callback, yajl_writer, file.in());
|
yajl_gen_print_callback, yajl_writer, file.in());
|
||||||
|
|
||||||
@ -1274,10 +1273,6 @@ void save_session(void)
|
|||||||
}
|
}
|
||||||
|
|
||||||
root_map.gen("commands");
|
root_map.gen("commands");
|
||||||
|
|
||||||
{
|
|
||||||
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
yajl_gen_clear(handle);
|
yajl_gen_clear(handle);
|
||||||
|
Loading…
Reference in New Issue
Block a user