[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r9283 - gnunet/src/peerinfo
From: |
gnunet |
Subject: |
[GNUnet-SVN] r9283 - gnunet/src/peerinfo |
Date: |
Sun, 25 Oct 2009 11:52:49 -0600 |
Author: grothoff
Date: 2009-10-25 11:52:49 -0600 (Sun, 25 Oct 2009)
New Revision: 9283
Modified:
gnunet/src/peerinfo/peerinfo_api.c
Log:
dead assignment
Modified: gnunet/src/peerinfo/peerinfo_api.c
===================================================================
--- gnunet/src/peerinfo/peerinfo_api.c 2009-10-25 12:22:25 UTC (rev 9282)
+++ gnunet/src/peerinfo/peerinfo_api.c 2009-10-25 17:52:49 UTC (rev 9283)
@@ -234,7 +234,6 @@
struct ListAllPeersMessage *lapm;
struct ListPeerMessage *lpm;
struct InfoContext *ihc;
- size_t hs;
client = GNUNET_CLIENT_connect (sched, "peerinfo", cfg);
if (client == NULL)
@@ -253,14 +252,14 @@
if (peer == NULL)
{
lapm = (struct ListAllPeersMessage *) &ihc[1];
- lapm->header.size = htons (hs = sizeof (struct ListAllPeersMessage));
+ lapm->header.size = htons (sizeof (struct ListAllPeersMessage));
lapm->header.type = htons (GNUNET_MESSAGE_TYPE_PEERINFO_GET_ALL);
lapm->trust_change = htonl (trust_delta);
}
else
{
lpm = (struct ListPeerMessage *) &ihc[1];
- lpm->header.size = htons (hs = sizeof (struct ListPeerMessage));
+ lpm->header.size = htons (sizeof (struct ListPeerMessage));
lpm->header.type = htons (GNUNET_MESSAGE_TYPE_PEERINFO_GET);
lpm->trust_change = htonl (trust_delta);
memcpy (&lpm->peer, peer, sizeof (struct GNUNET_PeerIdentity));
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r9283 - gnunet/src/peerinfo,
gnunet <=