/*
This file is part of GNUnet
- Copyright (C) 2012, 2015 Christian Grothoff (and other contributing authors)
+ Copyright (C) 2012, 2015 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
size,
&ab,
GNUNET_TIME_relative_to_absolute (DHT_TTL),
- DHT_TTL,
NULL, NULL);
}
block = REGEX_BLOCK_create (proof,
GNUNET_BLOCK_TYPE_REGEX,
size, block,
GNUNET_TIME_relative_to_absolute (DHT_TTL),
- DHT_TTL,
NULL, NULL);
GNUNET_STATISTICS_update (h->stats,
"# regex blocks stored",
copy = GNUNET_malloc (sizeof (struct Result) + size);
copy->size = size;
copy->data = ©[1];
- memcpy (©[1], block, size);
+ GNUNET_memcpy (©[1], block, size);
GNUNET_break (GNUNET_OK ==
GNUNET_CONTAINER_multihashmap_put (info->dht_get_results,
key, copy,