"Empty result set for `%s' request.\n",
"GET");
#endif
+ GNUNET_SERVER_client_keep (client);
transmit_item (client,
NULL, NULL, 0, NULL, 0, 0, 0,
GNUNET_TIME_UNIT_ZERO_ABS, 0);
expiration, uint64_t uid)
{
struct CpsRunContext *crc = cls;
+
GNUNET_assert (key == NULL);
- if (crc->i == 0)
- {
- crc->phase = RP_DONE;
- }
+ if (0 == --crc->i)
+ crc->phase = RP_DONE;
GNUNET_SCHEDULER_add_continuation (crc->sched,
GNUNET_NO,
&run_continuation,
TIMEOUT);
break;
case RP_DONE:
+ GNUNET_assert (0 == crc->i);
#if VERBOSE
GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
"Finished, disconnecting\n");