aboutsummaryrefslogtreecommitdiff
path: root/src/pq/pq_event.c
diff options
context:
space:
mode:
authorChristian Grothoff <grothoff@gnunet.org>2021-07-24 22:50:22 +0200
committerChristian Grothoff <grothoff@gnunet.org>2021-07-24 22:50:22 +0200
commitd63771f255057b27485c1fc96a0713d64d0ae1af (patch)
treee8b5ca287ec6283133bcb3ce49ba444253384b3a /src/pq/pq_event.c
parent31eae6bbe16302d2593b806ef3d2ac2ca9c2d8de (diff)
downloadgnunet-d63771f255057b27485c1fc96a0713d64d0ae1af.tar.gz
gnunet-d63771f255057b27485c1fc96a0713d64d0ae1af.zip
minimal test for new pq event functionality
Diffstat (limited to 'src/pq/pq_event.c')
-rw-r--r--src/pq/pq_event.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/pq/pq_event.c b/src/pq/pq_event.c
index ecb942230..b87aa6c5a 100644
--- a/src/pq/pq_event.c
+++ b/src/pq/pq_event.c
@@ -346,6 +346,7 @@ GNUNET_PQ_event_listen_cancel (struct GNUNET_PQ_EventHandler *eh)
346 } 346 }
347 GNUNET_assert (0 == 347 GNUNET_assert (0 ==
348 pthread_mutex_unlock (&db->notify_lock)); 348 pthread_mutex_unlock (&db->notify_lock));
349 GNUNET_free (eh);
349} 350}
350 351
351 352
@@ -364,7 +365,7 @@ GNUNET_PQ_event_notify (struct GNUNET_PQ_Context *db,
364 end = es_to_channel (es, 365 end = es_to_channel (es,
365 end); 366 end);
366 end = stpcpy (end, 367 end = stpcpy (end,
367 "'"); 368 ", '");
368 end = GNUNET_STRINGS_data_to_string (extra, 369 end = GNUNET_STRINGS_data_to_string (extra,
369 extra_size, 370 extra_size,
370 end, 371 end,