summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authordimitri staessens <dimitri.staessens@ugent.be>2017-03-03 16:01:36 +0100
committerdimitri staessens <dimitri.staessens@ugent.be>2017-03-03 16:01:36 +0100
commit91b0c782525151885d304a49f78e03a0eed26ea5 (patch)
treee59f435fb85c973745664497eb7034990f20dccc /src/lib
parent6fc6701774f59288fe7306fa3e0a51fd460e2e01 (diff)
downloadouroboros-91b0c782525151885d304a49f78e03a0eed26ea5.tar.gz
ouroboros-91b0c782525151885d304a49f78e03a0eed26ea5.zip
lib: Fix typo in cdap
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/cdap.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/cdap.c b/src/lib/cdap.c
index 86554dd2..32169c1b 100644
--- a/src/lib/cdap.c
+++ b/src/lib/cdap.c
@@ -297,7 +297,7 @@ static void * sdu_reader(void * o)
cdap__free_unpacked(msg, NULL);
continue;
}
- memcpy(data.data, msg->value.data Iata.len);
+ memcpy(data.data, msg->value.data, data.len);
} else {
data.len = 0;
data.data = NULL;
@@ -606,12 +606,12 @@ cdap_key_t * cdap_request_send(struct cdap * instance,
struct cdap_req * r =
cdap_sent_get_by_key(instance,
*(--key));
- release_invoke_id(instance, iid);
cdap_sent_del(instance, r);
release_invoke_id(instance,
key_to_invoke_id(r->key));
cdap_req_destroy(r);
}
+ release_invoke_id(instance, iid);
free(keys);
return NULL;
}