Copyright (C) 2011, 2016 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
+ under the terms of the GNU Affero General Public License as published
by the Free Software Foundation, either version 3 of the License,
or (at your option) any later version.
WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Affero General Public License for more details.
+
+ You should have received a copy of the GNU Affero General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+ SPDX-License-Identifier: AGPL3.0-or-later
*/
/**
* @file fs/gnunet-service-fs_cp.c
struct GSF_ConnectedPeer *cp;
if (0 ==
- GNUNET_CRYPTO_cmp_peer_identity (&GSF_my_id,
+ GNUNET_memcmp (&GSF_my_id,
peer))
return NULL;
GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
"fs",
peer,
"respect",
- GNUNET_TIME_UNIT_FOREVER_REL,
&peer_respect_cb,
cp);
GSF_iterate_pending_requests_ (&consider_peer_for_forwarding,