From 91c89c49257b4b9c698e5b7e90418915423ba1a2 Mon Sep 17 00:00:00 2001 From: Sander Vrijders Date: Wed, 27 Apr 2016 17:38:49 +0200 Subject: ipcpd: Hide IRMd messages and fix formatting This abstracts away the IRMd messages by calling the functions from ipcp.h in the ouroboros library. It also fixes some formatting issues. --- src/ipcpd/ipcp-data.c | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'src/ipcpd/ipcp-data.c') diff --git a/src/ipcpd/ipcp-data.c b/src/ipcpd/ipcp-data.c index 106226de..72407a53 100644 --- a/src/ipcpd/ipcp-data.c +++ b/src/ipcpd/ipcp-data.c @@ -189,11 +189,12 @@ void ipcp_data_destroy(struct ipcp_data * data) clear_directory(data); clear_flows(data); - /* no need to unlock, just free the entire thing - pthread_mutex_unlock(&data->flow_lock); - pthread_mutex_unlock(&data->dir_lock); - pthread_mutex_unlock(&data->reg_lock); - */ + /* + * no need to unlock, just free the entire thing + * pthread_mutex_unlock(&data->flow_lock); + * pthread_mutex_unlock(&data->dir_lock); + * pthread_mutex_unlock(&data->reg_lock); + */ free(data); } -- cgit v1.2.3