X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=src%2Fgnsrecord%2Fgnsrecord_misc.c;h=4c3bf6fa8f89a3ad02390073e70e686b469f6ab6;hb=79fb947eb8fba243ea65e19b40b65e04f8806865;hp=315835c042a9b4c2c5f6a59c290a1b355593dee9;hpb=6c3bf6b3486fd31402ab991f5ddef76bf9cd93c4;p=oweals%2Fgnunet.git diff --git a/src/gnsrecord/gnsrecord_misc.c b/src/gnsrecord/gnsrecord_misc.c index 315835c04..4c3bf6fa8 100644 --- a/src/gnsrecord/gnsrecord_misc.c +++ b/src/gnsrecord/gnsrecord_misc.c @@ -1,6 +1,6 @@ /* This file is part of GNUnet. - (C) 2009-2013 Christian Grothoff (and other contributing authors) + Copyright (C) 2009-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 @@ -14,8 +14,8 @@ 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. */ /** @@ -185,7 +185,7 @@ GNUNET_GNSRECORD_record_get_expiration_time (unsigned int rd_count, /* We have a shadow record */ if (0 != (rd[c2].flags & GNUNET_GNSRECORD_RF_RELATIVE_EXPIRATION)) { - rt_shadow.rel_value_us = rd[2].expiration_time; + rt_shadow.rel_value_us = rd[c2].expiration_time; at_shadow = GNUNET_TIME_relative_to_absolute (rt_shadow); } else