[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r14659 - gnunet/src/fs
From: |
gnunet |
Subject: |
[GNUnet-SVN] r14659 - gnunet/src/fs |
Date: |
Tue, 15 Mar 2011 14:37:44 +0100 |
Author: grothoff
Date: 2011-03-15 14:37:44 +0100 (Tue, 15 Mar 2011)
New Revision: 14659
Modified:
gnunet/src/fs/gnunet-service-fs_push.c
Log:
fix
Modified: gnunet/src/fs/gnunet-service-fs_push.c
===================================================================
--- gnunet/src/fs/gnunet-service-fs_push.c 2011-03-15 11:05:00 UTC (rev
14658)
+++ gnunet/src/fs/gnunet-service-fs_push.c 2011-03-15 13:37:44 UTC (rev
14659)
@@ -372,9 +372,10 @@
}
pos = pos->next;
}
- if ( (NULL == best) &&
- (mig_size >= MAX_MIGRATION_QUEUE) )
+ if (NULL == best)
{
+ if (mig_size < MAX_MIGRATION_QUEUE)
+ return; /* will fill up eventually... */
/* failed to find migration target AND
queue is full, purge most-forwarded
block from queue to make room for more */
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r14659 - gnunet/src/fs,
gnunet <=