From b43e8cd0f0858e78486752007c3640b70bf44c8d Mon Sep 17 00:00:00 2001 From: dimitri staessens Date: Thu, 13 Apr 2017 12:00:09 +0200 Subject: include, lib: Rename ap_init/ap_fini Fixes #35 --- src/ipcpd/ipcp.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/ipcpd') diff --git a/src/ipcpd/ipcp.c b/src/ipcpd/ipcp.c index 795ce42c..47c951f1 100644 --- a/src/ipcpd/ipcp.c +++ b/src/ipcpd/ipcp.c @@ -476,12 +476,12 @@ int ipcp_init(int argc, log_init(log); if (type == IPCP_NORMAL) { - if (ap_init(argv[0])) { + if (ouroboros_init(argv[0])) { log_err("Failed to init normal IPCPI."); return -1; } } else { - if (ap_init(NULL)) { + if (ouroboros_init(NULL)) { log_err("Failed to init shim IPCPI."); return -1; } @@ -600,7 +600,7 @@ int ipcp_init(int argc, fail_sock_path: free(ipcpi.threadpool); fail_thr: - ap_fini(); + ouroboros_fini(); return ret; } @@ -732,7 +732,7 @@ void ipcp_fini() log_fini(); - ap_fini(); + ouroboros_fini(); log_info("IPCP %d out.", getpid()); } -- cgit v1.2.3