summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2021-08-22 11:44:22 +0200
committerChristian Grothoff <christian@grothoff.org>2021-08-22 11:44:22 +0200
commit9ef7f0704fa0458f2e27ba188aec5102dbb780b2 (patch)
tree956a6ec2866121c127671b66780e935345a2fb04 /src
parent71a70133ad41085750ee1018fe026838d0aab5ac (diff)
-prepend X to ensure identifiers do not start with a number
Diffstat (limited to 'src')
-rw-r--r--src/pq/pq_event.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/pq/pq_event.c b/src/pq/pq_event.c
index e6c2d07fd..2890869a3 100644
--- a/src/pq/pq_event.c
+++ b/src/pq/pq_event.c
@@ -388,7 +388,7 @@ register_notify (void *cls,
struct GNUNET_DB_EventHandler *eh = value;
manage_subscribe (db,
- "LISTEN ",
+ "LISTEN X",
eh);
return GNUNET_OK;
}
@@ -440,7 +440,7 @@ GNUNET_PQ_event_listen (struct GNUNET_PQ_Context *db,
fd);
}
manage_subscribe (db,
- "LISTEN ",
+ "LISTEN X",
eh);
GNUNET_assert (0 ==
pthread_mutex_unlock (&db->notify_lock));
@@ -461,7 +461,7 @@ GNUNET_PQ_event_listen_cancel (struct GNUNET_DB_EventHandler *eh)
eh));
manage_subscribe (db,
- "UNLISTEN ",
+ "UNLISTEN X",
eh);
if ( (NULL != db->sc) &&
(0 == GNUNET_CONTAINER_multishortmap_size (db->channel_map)) )
@@ -486,7 +486,7 @@ GNUNET_PQ_event_notify (struct GNUNET_PQ_Context *db,
PGresult *result;
end = stpcpy (sql,
- "NOTIFY ");
+ "NOTIFY X");
end = es_to_channel (es,
end);
end = stpcpy (end,