From cfa61f12efe97933fb1e5ddda29873698f154f95 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Sun, 5 Feb 2023 20:59:46 +0100 Subject: PG: do not return NOTIFY prefix in GNUNET_PG_get_event_notify_channel, commands may notify or listen or unlisten with the result --- src/pq/pq_event.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pq/pq_event.c b/src/pq/pq_event.c index 6dbacf7ff..3e708fc04 100644 --- a/src/pq/pq_event.c +++ b/src/pq/pq_event.c @@ -525,7 +525,7 @@ GNUNET_PG_get_event_notify_channel (const struct GNUNET_DB_EventHeaderP *es) char *end; end = stpcpy (sql, - "NOTIFY X"); + "X"); end = es_to_channel (es, end); GNUNET_assert (NULL != end); -- cgit v1.2.3