diff options
author | Christian Grothoff <christian@grothoff.org> | 2023-02-05 20:59:46 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2023-02-05 21:00:07 +0100 |
commit | cfa61f12efe97933fb1e5ddda29873698f154f95 (patch) | |
tree | 9fc4e459046575015ee25651ccab1df105297e6d | |
parent | 0cfa9293a7f7b9b2bad8ac102fd1d3cf0e76a816 (diff) | |
download | gnunet-cfa61f12efe97933fb1e5ddda29873698f154f95.tar.gz gnunet-cfa61f12efe97933fb1e5ddda29873698f154f95.zip |
PG: do not return NOTIFY prefix in GNUNET_PG_get_event_notify_channel, commands may notify or listen or unlisten with the result
-rw-r--r-- | src/pq/pq_event.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) | |||
525 | char *end; | 525 | char *end; |
526 | 526 | ||
527 | end = stpcpy (sql, | 527 | end = stpcpy (sql, |
528 | "NOTIFY X"); | 528 | "X"); |
529 | end = es_to_channel (es, | 529 | end = es_to_channel (es, |
530 | end); | 530 | end); |
531 | GNUNET_assert (NULL != end); | 531 | GNUNET_assert (NULL != end); |