log: add \n
[oweals/gnunet.git] / src / regex / regex_internal_dht.c
index 849ba20d0f324a7796c7caa6d30030eacc569295..b80dabca0856b5ea982f6500a3665bd8db3de06c 100644 (file)
@@ -1,6 +1,6 @@
 /*
      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
@@ -151,7 +151,6 @@ regex_iterator (void *cls,
                     size,
                     &ab,
                     GNUNET_TIME_relative_to_absolute (DHT_TTL),
-                    DHT_TTL,
                     NULL, NULL);
   }
   block = REGEX_BLOCK_create (proof,
@@ -165,7 +164,6 @@ regex_iterator (void *cls,
                   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",
@@ -478,7 +476,7 @@ dht_get_string_handler (void *cls, struct GNUNET_TIME_Absolute exp,
   copy = GNUNET_malloc (sizeof (struct Result) + size);
   copy->size = size;
   copy->data = &copy[1];
-  memcpy (&copy[1], block, size);
+  GNUNET_memcpy (&copy[1], block, size);
   GNUNET_break (GNUNET_OK ==
                GNUNET_CONTAINER_multihashmap_put (info->dht_get_results,
                                                   key, copy,