mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-24 01:24:26 +01:00
JSONRPC: listconfigs command.
With the new 'human-readable' mode of lightning-cli, this actually produces a valid config file. It's a bit hacky though... Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
committed by
Christian Decker
parent
0600aac68f
commit
327e2b8fd8
@@ -414,7 +414,7 @@ static void log_to_file(const char *prefix,
|
||||
fflush(logf);
|
||||
}
|
||||
|
||||
static char *arg_log_to_file(const char *arg, struct lightningd *ld)
|
||||
char *arg_log_to_file(const char *arg, struct lightningd *ld)
|
||||
{
|
||||
FILE *logf;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user