summaryrefslogtreecommitdiff
path: root/src/ipcpd/ipcp-data.c
diff options
context:
space:
mode:
authorSander Vrijders <[email protected]>2016-04-27 17:38:49 +0200
committerSander Vrijders <[email protected]>2016-04-27 18:08:20 +0200
commit91c89c49257b4b9c698e5b7e90418915423ba1a2 (patch)
tree47fc194fe6eb671dd87fc2cbbfe3e3866a7dab50 /src/ipcpd/ipcp-data.c
parentaed2c2e59190b0d0fb5e89d992063fcc538784fc (diff)
downloadouroboros-91c89c49257b4b9c698e5b7e90418915423ba1a2.tar.gz
ouroboros-91c89c49257b4b9c698e5b7e90418915423ba1a2.zip
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.
Diffstat (limited to 'src/ipcpd/ipcp-data.c')
-rw-r--r--src/ipcpd/ipcp-data.c11
1 files changed, 6 insertions, 5 deletions
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);
}