mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-23 17:14:22 +01:00
log: rename struct log_record to struct log_book.
I think "log entry" when I see "log record", so this name is better. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
@@ -32,8 +32,8 @@ static struct lightningd_state *lightningd_state(void)
|
||||
{
|
||||
struct lightningd_state *dstate = tal(NULL, struct lightningd_state);
|
||||
|
||||
dstate->log_record = new_log_record(dstate, 20*1024*1024, LOG_INFORM);
|
||||
dstate->base_log = new_log(dstate, dstate->log_record,
|
||||
dstate->log_book = new_log_book(dstate, 20*1024*1024, LOG_INFORM);
|
||||
dstate->base_log = new_log(dstate, dstate->log_book,
|
||||
"lightningd(%u):", (int)getpid());
|
||||
|
||||
list_head_init(&dstate->peers);
|
||||
|
||||
Reference in New Issue
Block a user