aboutsummaryrefslogtreecommitdiff
path: root/src/pq/pq_event.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/pq/pq_event.c')
-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 16bd898fb..fff9e16f7 100644
--- a/src/pq/pq_event.c
+++ b/src/pq/pq_event.c
@@ -185,8 +185,8 @@ do_notify (void *cls,
185} 185}
186 186
187 187
188static void 188void
189event_do_poll (struct GNUNET_PQ_Context *db) 189GNUNET_PQ_event_do_poll (struct GNUNET_PQ_Context *db)
190{ 190{
191 PGnotify *n; 191 PGnotify *n;
192 unsigned int cnt = 0; 192 unsigned int cnt = 0;
@@ -276,7 +276,7 @@ do_scheduler_notify (void *cls)
276 db->event_task = NULL; 276 db->event_task = NULL;
277 if (NULL == db->rfd) 277 if (NULL == db->rfd)
278 GNUNET_PQ_reconnect (db); 278 GNUNET_PQ_reconnect (db);
279 event_do_poll (db); 279 GNUNET_PQ_event_do_poll (db);
280 if (NULL != db->event_task) 280 if (NULL != db->event_task)
281 return; 281 return;
282 GNUNET_log (GNUNET_ERROR_TYPE_INFO, 282 GNUNET_log (GNUNET_ERROR_TYPE_INFO,
@@ -577,7 +577,7 @@ GNUNET_PQ_event_notify (struct GNUNET_PQ_Context *db,
577 PQerrorMessage (db->conn)); 577 PQerrorMessage (db->conn));
578 } 578 }
579 PQclear (result); 579 PQclear (result);
580 event_do_poll (db); 580 GNUNET_PQ_event_do_poll (db);
581} 581}
582 582
583 583