summaryrefslogtreecommitdiff
path: root/src/ipcpd
diff options
context:
space:
mode:
authordimitri staessens <dimitri.staessens@ugent.be>2017-04-13 12:00:09 +0200
committerdimitri staessens <dimitri.staessens@ugent.be>2017-04-13 12:14:24 +0200
commitb43e8cd0f0858e78486752007c3640b70bf44c8d (patch)
treeb07a8c54f0e2cdcf258fba38ae77edc02e3d17d1 /src/ipcpd
parent72c28d6173ade511e9dc6969e0fc66db2dbba38a (diff)
downloadouroboros-b43e8cd0f0858e78486752007c3640b70bf44c8d.tar.gz
ouroboros-b43e8cd0f0858e78486752007c3640b70bf44c8d.zip
include, lib: Rename ap_init/ap_fini
Fixes #35
Diffstat (limited to 'src/ipcpd')
-rw-r--r--src/ipcpd/ipcp.c8
1 files changed, 4 insertions, 4 deletions
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());
}