aboutsummaryrefslogtreecommitdiff
path: root/src/scalarproduct/scalarproduct_api.c
diff options
context:
space:
mode:
authorChristian Fuchs <christian.fuchs@cfuchs.net>2013-09-11 17:06:04 +0000
committerChristian Fuchs <christian.fuchs@cfuchs.net>2013-09-11 17:06:04 +0000
commitd6f94672c2e5ce0da942aaff9fab277176027656 (patch)
tree1475d64fd700c47448a0b58fdf0f5f65522ac354 /src/scalarproduct/scalarproduct_api.c
parent361fb8f1f3f57d0fb47fa923fe8c813f5d0bb86e (diff)
downloadgnunet-d6f94672c2e5ce0da942aaff9fab277176027656.tar.gz
gnunet-d6f94672c2e5ce0da942aaff9fab277176027656.zip
the key entry in GNUNET_SCALARPRODUCT_ComputationHandle is now a struct, not a pointer.
re-added scheduler shutdown to SP-client
Diffstat (limited to 'src/scalarproduct/scalarproduct_api.c')
-rw-r--r--src/scalarproduct/scalarproduct_api.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/scalarproduct/scalarproduct_api.c b/src/scalarproduct/scalarproduct_api.c
index 89cb4db17..95aaaf86a 100644
--- a/src/scalarproduct/scalarproduct_api.c
+++ b/src/scalarproduct/scalarproduct_api.c
@@ -78,7 +78,7 @@ struct GNUNET_SCALARPRODUCT_ComputationHandle
78 /** 78 /**
79 * The shared session key identifying this computation 79 * The shared session key identifying this computation
80 */ 80 */
81 struct GNUNET_HashCode * key; 81 struct GNUNET_HashCode key;
82 82
83 /** 83 /**
84 * Current transmit handle. 84 * Current transmit handle.
@@ -249,6 +249,7 @@ receive_cb (void *cls, const struct GNUNET_MessageHeader *msg)
249 if (qe->cont_datum != NULL) 249 if (qe->cont_datum != NULL)
250 qe->response_proc (qe, msg, status); 250 qe->response_proc (qe, msg, status);
251 251
252 GNUNET_CONTAINER_DLL_remove (head, tail, qe);
252 GNUNET_free (qe); 253 GNUNET_free (qe);
253} 254}
254 255