From 50c8ef12acd11e001050588745685dccf76e8dbd Mon Sep 17 00:00:00 2001
From: Přemysl Janouch
Date: Sun, 13 Dec 2015 01:40:03 +0100
Subject: Bump liberty
---
json-rpc-shell.c | 9 +++------
liberty | 2 +-
2 files changed, 4 insertions(+), 7 deletions(-)
diff --git a/json-rpc-shell.c b/json-rpc-shell.c
index d6c47ff..9ae8451 100644
--- a/json-rpc-shell.c
+++ b/json-rpc-shell.c
@@ -44,9 +44,6 @@
#include
#include
-#include
-#include
-
#include
#include
@@ -68,7 +65,7 @@
// --- Configuration (application-specific) ------------------------------------
-static struct config_item g_config_table[] =
+static struct simple_config_item g_config_table[] =
{
{ ATTR_PROMPT, NULL, "Terminal attributes for the prompt" },
{ ATTR_RESET, NULL, "String to reset terminal attributes" },
@@ -537,7 +534,7 @@ load_config (struct app_context *ctx)
map.free = free;
struct error *e = NULL;
- if (!read_config_file (&map, &e))
+ if (!simple_config_update_from_file (&map, &e))
{
print_error ("error loading configuration: %s", e->message);
error_free (e);
@@ -2043,7 +2040,7 @@ parse_program_arguments (struct app_context *ctx, int argc, char **argv,
}
break;
case 'w':
- call_write_default_config (optarg, g_config_table);
+ call_simple_config_write_default (optarg, g_config_table);
exit (EXIT_SUCCESS);
default:
diff --git a/liberty b/liberty
index 99b92fd..91fca5c 160000
--- a/liberty
+++ b/liberty
@@ -1 +1 @@
-Subproject commit 99b92fdd6e181aac2bd8fd021cd2718978126f49
+Subproject commit 91fca5cb054fc95fe2e7ac090cac2c3a302565ca
--
cgit v1.2.3-70-g09d2