[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r11024 - in gnunet: . src/core src/fs src/util
From: |
gnunet |
Subject: |
[GNUnet-SVN] r11024 - in gnunet: . src/core src/fs src/util |
Date: |
Thu, 22 Apr 2010 11:10:46 +0200 |
Author: grothoff
Date: 2010-04-22 11:10:46 +0200 (Thu, 22 Apr 2010)
New Revision: 11024
Modified:
gnunet/TODO
gnunet/src/core/gnunet-service-core.c
gnunet/src/fs/gnunet-service-fs.c
gnunet/src/util/scheduler.c
Log:
make checker happy
Modified: gnunet/TODO
===================================================================
--- gnunet/TODO 2010-04-22 09:07:09 UTC (rev 11023)
+++ gnunet/TODO 2010-04-22 09:10:46 UTC (rev 11024)
@@ -163,7 +163,7 @@
no longer filter those for outgoing (helps with loopback testing
and keeps the code clean), but we should filter strictly *impossible*
incoming addresses! This is for efficiency, not correctness.
- - should use hash map to look up Neighbours
+ - should use hash map to look up Neighbours (service AND plugins!)
* HOSTLIST:
- 'server' uses 'GNUNET_PEERINFO_iterate', should probably switch to
notification API
(for more instant / up-to-date hostlists at lower cost)
Modified: gnunet/src/core/gnunet-service-core.c
===================================================================
--- gnunet/src/core/gnunet-service-core.c 2010-04-22 09:07:09 UTC (rev
11023)
+++ gnunet/src/core/gnunet-service-core.c 2010-04-22 09:10:46 UTC (rev
11024)
@@ -3792,6 +3792,7 @@
GNUNET_log (GNUNET_ERROR_TYPE_ERROR,
_("Could not access PEERINFO service. Exiting.\n"));
GNUNET_SCHEDULER_shutdown (s);
+ GNUNET_free (keyfile);
return;
}
my_private_key = GNUNET_CRYPTO_rsa_key_create_from_file (keyfile);
Modified: gnunet/src/fs/gnunet-service-fs.c
===================================================================
--- gnunet/src/fs/gnunet-service-fs.c 2010-04-22 09:07:09 UTC (rev 11023)
+++ gnunet/src/fs/gnunet-service-fs.c 2010-04-22 09:10:46 UTC (rev 11024)
@@ -1649,6 +1649,7 @@
/* (3) reserve reply bandwidth */
cp = GNUNET_CONTAINER_multihashmap_get (connected_peers,
&psc.target.hashPubKey);
+ GNUNET_assert (NULL != cp);
pr->irc = GNUNET_CORE_peer_change_preference (sched, cfg,
&psc.target,
GNUNET_CONSTANTS_SERVICE_TIMEOUT,
Modified: gnunet/src/util/scheduler.c
===================================================================
--- gnunet/src/util/scheduler.c 2010-04-22 09:07:09 UTC (rev 11023)
+++ gnunet/src/util/scheduler.c 2010-04-22 09:10:46 UTC (rev 11024)
@@ -504,7 +504,7 @@
if (sched->current_priority != pos->priority)
{
sched->current_priority = pos->priority;
- GNUNET_OS_set_process_priority (0, pos->priority);
+ (void) GNUNET_OS_set_process_priority (0, pos->priority);
}
sched->active_task = pos;
tc.sched = sched;
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r11024 - in gnunet: . src/core src/fs src/util,
gnunet <=