summaryrefslogtreecommitdiff
path: root/src/ipcpd/ipcp.c
diff options
context:
space:
mode:
authordimitri staessens <[email protected]>2016-08-04 15:25:42 +0200
committerdimitri staessens <[email protected]>2016-08-04 17:19:01 +0200
commit2567329483ab1fe5384782da50e06aa0bbdd3cfe (patch)
tree7dba3fd7e728642d2146b860a56a9fda4d9c2db2 /src/ipcpd/ipcp.c
parent139001b60b32e756e947d6e3a55767be9063029d (diff)
downloadouroboros-2567329483ab1fe5384782da50e06aa0bbdd3cfe.tar.gz
ouroboros-2567329483ab1fe5384782da50e06aa0bbdd3cfe.zip
irmd: Fix destroying allocated flows
When a flow was in FLOW_ALLOCATED state, it would not change to NULL state and irm_flow_destroy would hang forever.
Diffstat (limited to 'src/ipcpd/ipcp.c')
-rw-r--r--src/ipcpd/ipcp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ipcpd/ipcp.c b/src/ipcpd/ipcp.c
index 6b76f20e..9ecc411d 100644
--- a/src/ipcpd/ipcp.c
+++ b/src/ipcpd/ipcp.c
@@ -91,7 +91,7 @@ static void close_ptr(void * o)
close(*((int *) o));
}
-static void clean_msg (void * msg)
+static void clean_msg(void * msg)
{
ipcp_msg__free_unpacked(msg, NULL);
}