From c20cf66237cb0e1b608427fd95ce95a13f6ebeb4 Mon Sep 17 00:00:00 2001 From: Bruno Cabral Date: Sun, 30 Mar 2014 13:42:47 +0000 Subject: friend is a reserved work in C++. Rename to friend_id. --- src/topology/friends.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/topology') diff --git a/src/topology/friends.c b/src/topology/friends.c index f79ee77ca5..348123fe6f 100644 --- a/src/topology/friends.c +++ b/src/topology/friends.c @@ -194,18 +194,18 @@ GNUNET_FRIENDS_write_stop (struct GNUNET_FRIENDS_Writer *w) * Add a friend to the friends file. * * @param w write handle - * @param friend friend to add + * @param friend_id friend to add * @return #GNUNET_OK on success, #GNUNET_SYSERR on error */ int GNUNET_FRIENDS_write (struct GNUNET_FRIENDS_Writer *w, - const struct GNUNET_PeerIdentity *friend) + const struct GNUNET_PeerIdentity *friend_id) { char *buf; char *ret; size_t slen; - ret = GNUNET_CRYPTO_eddsa_public_key_to_string (&friend->public_key); + ret = GNUNET_CRYPTO_eddsa_public_key_to_string (&friend_id->public_key); GNUNET_asprintf (&buf, "%s\n", ret); -- cgit v1.2.3-18-g5258