diff options
Diffstat (limited to 'src/scalarproduct/gnunet-scalarproduct.c')
-rw-r--r-- | src/scalarproduct/gnunet-scalarproduct.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/scalarproduct/gnunet-scalarproduct.c b/src/scalarproduct/gnunet-scalarproduct.c index 2fc2ab720..78acb62ce 100644 --- a/src/scalarproduct/gnunet-scalarproduct.c +++ b/src/scalarproduct/gnunet-scalarproduct.c | |||
@@ -141,7 +141,7 @@ responder_callback (void *cls, | |||
141 | LOG (GNUNET_ERROR_TYPE_ERROR, "Session %s failed: return code %d\n", GNUNET_h2s (key), (int) status); | 141 | LOG (GNUNET_ERROR_TYPE_ERROR, "Session %s failed: return code %d\n", GNUNET_h2s (key), (int) status); |
142 | } | 142 | } |
143 | 143 | ||
144 | GNUNET_SCALARPRODUCT_disconnect (handle); | 144 | GNUNET_SCALARPRODUCT_cancel (handle); |
145 | GNUNET_SCHEDULER_shutdown (); | 145 | GNUNET_SCHEDULER_shutdown (); |
146 | } | 146 | } |
147 | 147 | ||
@@ -209,7 +209,7 @@ requester_callback (void *cls, | |||
209 | default: | 209 | default: |
210 | LOG (GNUNET_ERROR_TYPE_ERROR, "Session %s failed: return code %d\n", GNUNET_h2s (key), (int) status); | 210 | LOG (GNUNET_ERROR_TYPE_ERROR, "Session %s failed: return code %d\n", GNUNET_h2s (key), (int) status); |
211 | } | 211 | } |
212 | GNUNET_SCALARPRODUCT_disconnect (handle); | 212 | GNUNET_SCALARPRODUCT_cancel (handle); |
213 | GNUNET_SCHEDULER_shutdown (); | 213 | GNUNET_SCHEDULER_shutdown (); |
214 | } | 214 | } |
215 | 215 | ||