/*
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
You should have received a copy of the GNU General Public License
along with GNUnet; see the file COPYING. If not, write to the
- Free Software Foundation, Inc., 59 Temple Place - Suite 330,
- Boston, MA 02111-1307, USA.
+ Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
+ Boston, MA 02110-1301, USA.
*/
/**
* @file src/regex/regex_internal_dht.c
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",
/**
- * Type of values in #dht_get_results().
+ * Type of values in `dht_get_results`.
*/
struct Result
{
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,