GNUnet is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published
- by the Free Software Foundation; either version 2, or (at your
+ by the Free Software Foundation; either version 3, or (at your
option) any later version.
GNUnet is distributed in the hope that it will be useful, but
_("Failed to receive response for `%s' request from `%s' service.\n"),
"GET_INDEXED",
"fs");
- GNUNET_SCHEDULER_add_continuation (gic->h->sched,
- gic->cont,
+ GNUNET_SCHEDULER_add_continuation (gic->cont,
gic->cont_cls,
GNUNET_SCHEDULER_REASON_TIMEOUT);
- GNUNET_CLIENT_disconnect (gic->client);
+ GNUNET_CLIENT_disconnect (gic->client, GNUNET_NO);
GNUNET_free (gic);
return;
}
if (ntohs (msg->type) == GNUNET_MESSAGE_TYPE_FS_INDEX_LIST_END)
{
/* normal end-of-list */
- GNUNET_SCHEDULER_add_continuation (gic->h->sched,
- gic->cont,
+ GNUNET_SCHEDULER_add_continuation (gic->cont,
gic->cont_cls,
GNUNET_SCHEDULER_REASON_PREREQ_DONE);
- GNUNET_CLIENT_disconnect (gic->client);
+ GNUNET_CLIENT_disconnect (gic->client, GNUNET_NO);
GNUNET_free (gic);
return;
}
_("Failed to receive valid response for `%s' request from `%s' service.\n"),
"GET_INDEXED",
"fs");
- GNUNET_SCHEDULER_add_continuation (gic->h->sched,
- gic->cont,
+ GNUNET_SCHEDULER_add_continuation (gic->cont,
gic->cont_cls,
GNUNET_SCHEDULER_REASON_TIMEOUT);
- GNUNET_CLIENT_disconnect (gic->client);
+ GNUNET_CLIENT_disconnect (gic->client, GNUNET_NO);
GNUNET_free (gic);
return;
}
filename,
&iim->file_id))
{
- GNUNET_SCHEDULER_add_continuation (gic->h->sched,
- gic->cont,
+ GNUNET_SCHEDULER_add_continuation (gic->cont,
gic->cont_cls,
GNUNET_SCHEDULER_REASON_PREREQ_DONE);
- GNUNET_CLIENT_disconnect (gic->client);
+ GNUNET_CLIENT_disconnect (gic->client, GNUNET_NO);
GNUNET_free (gic);
return;
}
struct GetIndexedContext *gic;
struct GNUNET_MessageHeader msg;
- client = GNUNET_CLIENT_connect (h->sched,
- "fs",
+ client = GNUNET_CLIENT_connect ("fs",
h->cfg);
if (NULL == client)
{
GNUNET_log (GNUNET_ERROR_TYPE_WARNING,
_("Failed to not connect to `%s' service.\n"),
"fs");
- GNUNET_SCHEDULER_add_continuation (h->sched,
- cont,
+ GNUNET_SCHEDULER_add_continuation (cont,
cont_cls,
GNUNET_SCHEDULER_REASON_TIMEOUT);
return;