From 1e4030b9ed90322a14ebbb8b34578895da04c5e6 Mon Sep 17 00:00:00 2001 From: Con Kolivas Date: Fri, 7 Nov 2014 15:26:09 +1100 Subject: [PATCH] Fix wrong pointer in connector --- src/connector.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/connector.c b/src/connector.c index 8c098b96..58281bf4 100644 --- a/src/connector.c +++ b/src/connector.c @@ -748,8 +748,8 @@ int connector(proc_instance_t *pi) cdata->client_id = 1; mutex_init(&cdata->sender_lock); cond_init(&cdata->sender_cond); - create_pthread(&cdata->pth_sender, sender, &cdata); - create_pthread(&cdata->pth_receiver, receiver, &cdata); + create_pthread(&cdata->pth_sender, sender, cdata); + create_pthread(&cdata->pth_receiver, receiver, cdata); ret = connector_loop(pi, cdata); out: