diff options
author | dimitri staessens <dimitri.staessens@ugent.be> | 2017-03-03 15:07:06 +0000 |
---|---|---|
committer | Sander Vrijders <sander.vrijders@ugent.be> | 2017-03-03 15:07:06 +0000 |
commit | 80dcc9aae225de1228347b91eb114b3e40022623 (patch) | |
tree | e59f435fb85c973745664497eb7034990f20dccc /src | |
parent | 6fc6701774f59288fe7306fa3e0a51fd460e2e01 (diff) | |
parent | 91b0c782525151885d304a49f78e03a0eed26ea5 (diff) | |
download | ouroboros-80dcc9aae225de1228347b91eb114b3e40022623.tar.gz ouroboros-80dcc9aae225de1228347b91eb114b3e40022623.zip |
Merged in dstaesse/ouroboros/be-cdap (pull request #399)
lib: Fix typo in cdap
Diffstat (limited to 'src')
-rw-r--r-- | src/lib/cdap.c | 4 |
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; } |