diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/auditordb/plugin_auditordb_postgres.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/auditordb/plugin_auditordb_postgres.c b/src/auditordb/plugin_auditordb_postgres.c index ba7507546..1001ba952 100644 --- a/src/auditordb/plugin_auditordb_postgres.c +++ b/src/auditordb/plugin_auditordb_postgres.c @@ -1445,6 +1445,11 @@ postgres_get_wire_auditor_progress (void *cls, "wire_auditor_progress_select", params, rs); + if (qs <= 0) + { + *wire_off_size = 0; + xsize = 0; + } GNUNET_assert (xsize == *wire_off_size); return qs; } |