summaryrefslogtreecommitdiff
path: root/src/irmd/irm_flow.c
diff options
context:
space:
mode:
authorSander Vrijders <[email protected]>2017-03-21 18:01:43 +0100
committerSander Vrijders <[email protected]>2017-03-21 18:01:43 +0100
commit1d0e634a651f234c3942c6b82164470fa2432058 (patch)
tree6977229f9148774a4338c489134207ab8b0f5c9f /src/irmd/irm_flow.c
parent122202761b3fb09a883ca8081eb1eb4243cd484d (diff)
downloadouroboros-1d0e634a651f234c3942c6b82164470fa2432058.tar.gz
ouroboros-1d0e634a651f234c3942c6b82164470fa2432058.zip
ipcpd: normal: Several bugfixes
These solve several bugfixes in the normal.
Diffstat (limited to 'src/irmd/irm_flow.c')
-rw-r--r--src/irmd/irm_flow.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/irmd/irm_flow.c b/src/irmd/irm_flow.c
index 20d2511c..8ca25b5b 100644
--- a/src/irmd/irm_flow.c
+++ b/src/irmd/irm_flow.c
@@ -31,7 +31,9 @@
#include <stdbool.h>
#include <assert.h>
-struct irm_flow * irm_flow_create(pid_t n_api, pid_t n_1_api, int port_id)
+struct irm_flow * irm_flow_create(pid_t n_api,
+ pid_t n_1_api,
+ int port_id)
{
struct irm_flow * f = malloc(sizeof(*f));
if (f == NULL)
@@ -47,7 +49,6 @@ struct irm_flow * irm_flow_create(pid_t n_api, pid_t n_1_api, int port_id)
return NULL;
}
-
f->n_api = n_api;
f->n_1_api = n_1_api;
f->port_id = port_id;