assertion only holds if we did get results
This commit is contained in:
parent
eda7e1c6a0
commit
298d7dd367
@ -1445,6 +1445,11 @@ postgres_get_wire_auditor_progress (void *cls,
|
|||||||
"wire_auditor_progress_select",
|
"wire_auditor_progress_select",
|
||||||
params,
|
params,
|
||||||
rs);
|
rs);
|
||||||
|
if (qs <= 0)
|
||||||
|
{
|
||||||
|
*wire_off_size = 0;
|
||||||
|
xsize = 0;
|
||||||
|
}
|
||||||
GNUNET_assert (xsize == *wire_off_size);
|
GNUNET_assert (xsize == *wire_off_size);
|
||||||
return qs;
|
return qs;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user