/*
This file is part of GNUnet.
- Copyright (C) 2009, 2010, 2012, 2013 Christian Grothoff (and other contributing authors)
+ Copyright (C) 2009, 2010, 2012, 2013 GNUnet e.V.
GNUnet is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published
* Run the continuation.
*
* @param cls the `struct GNUNET_FS_PublishUblockContext *`
- * @param tc scheduler context
*/
static void
-run_cont (void *cls,
- const struct GNUNET_SCHEDULER_TaskContext *tc)
+run_cont (void *cls)
{
struct GNUNET_FS_PublishUblockContext *uc = cls;
ub_plain = GNUNET_malloc (size);
kbe = (char *) &ub_plain[1];
if (NULL != ulabel)
- memcpy (kbe, ulabel, ulen);
+ GNUNET_memcpy (kbe, ulabel, ulen);
kbe += ulen;
- memcpy (kbe, uris, slen);
+ GNUNET_memcpy (kbe, uris, slen);
kbe += slen;
GNUNET_free (uris);
sptr = kbe;
bo->replication_level,
bo->expiration_time,
-2, 1,
- GNUNET_CONSTANTS_SERVICE_TIMEOUT,
&ublock_put_cont, uc);
}
else