[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r5902 - in GNUnet/src/applications: dht/module fs/module
From: |
gnunet |
Subject: |
[GNUnet-SVN] r5902 - in GNUnet/src/applications: dht/module fs/module |
Date: |
Fri, 14 Dec 2007 21:50:49 -0700 (MST) |
Author: grothoff
Date: 2007-12-14 21:50:48 -0700 (Fri, 14 Dec 2007)
New Revision: 5902
Modified:
GNUnet/src/applications/dht/module/table.c
GNUnet/src/applications/fs/module/fs.c
Log:
cleanup
Modified: GNUnet/src/applications/dht/module/table.c
===================================================================
--- GNUnet/src/applications/dht/module/table.c 2007-12-15 04:43:52 UTC (rev
5901)
+++ GNUnet/src/applications/dht/module/table.c 2007-12-15 04:50:48 UTC (rev
5902)
@@ -329,10 +329,10 @@
* @return GNUNET_OK on success, GNUNET_SYSERR on error
*/
int
-select_dht_peer (GNUNET_PeerIdentity * set,
- const GNUNET_HashCode * target,
- const GNUNET_PeerIdentity * blocked,
- unsigned int blocked_size)
+GNUNET_DHT_select_peer (GNUNET_PeerIdentity * set,
+ const GNUNET_HashCode * target,
+ const GNUNET_PeerIdentity * blocked,
+ unsigned int blocked_size)
{
unsigned long long total_distance;
unsigned long long selected;
@@ -452,7 +452,8 @@
}
while (i < pc)
{
- if (GNUNET_OK != select_dht_peer (&pos[i], &other->hashPubKey, pos, i))
+ if (GNUNET_OK !=
+ GNUNET_DHT_select_peer (&pos[i], &other->hashPubKey, pos, i))
pc--;
else
i++;
@@ -710,7 +711,7 @@
* @return GNUNET_OK on success
*/
int
-init_dht_table (GNUNET_CoreAPIForPlugins * capi)
+GNUNET_DHT_table_init (GNUNET_CoreAPIForPlugins * capi)
{
unsigned long long i;
@@ -757,7 +758,7 @@
* @return GNUNET_OK on success
*/
int
-done_dht_table ()
+GNUNET_DHT_table_done ()
{
unsigned int i;
unsigned int j;
Modified: GNUnet/src/applications/fs/module/fs.c
===================================================================
--- GNUnet/src/applications/fs/module/fs.c 2007-12-15 04:43:52 UTC (rev
5901)
+++ GNUnet/src/applications/fs/module/fs.c 2007-12-15 04:50:48 UTC (rev
5902)
@@ -1248,7 +1248,7 @@
prev->next = pos->next;
dht->get_stop (pos->rec);
GNUNET_free (pos);
- pos = prev->next;
+ pos = prev->next;
continue;
}
prev = pos;
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r5902 - in GNUnet/src/applications: dht/module fs/module,
gnunet <=