[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r2502 - GNUnet/src/applications/fs/ecrs
From: |
grothoff |
Subject: |
[GNUnet-SVN] r2502 - GNUnet/src/applications/fs/ecrs |
Date: |
Mon, 13 Mar 2006 12:56:26 -0800 (PST) |
Author: grothoff
Date: 2006-03-13 12:56:23 -0800 (Mon, 13 Mar 2006)
New Revision: 2502
Modified:
GNUnet/src/applications/fs/ecrs/download.c
Log:
better
Modified: GNUnet/src/applications/fs/ecrs/download.c
===================================================================
--- GNUnet/src/applications/fs/ecrs/download.c 2006-03-13 08:14:20 UTC (rev
2501)
+++ GNUnet/src/applications/fs/ecrs/download.c 2006-03-13 20:56:23 UTC (rev
2502)
@@ -1081,14 +1081,16 @@
entry->tries++;
}
/* warn if number of attempts goes too high */
- if (0 == (entry->tries % MAX_TRIES)) {
+ if ( (0 == (entry->tries % MAX_TRIES)) &&
+ (entry->tries > 0) ) {
EncName enc;
IFLOG(LOG_WARNING,
hash2enc(&entry->node->chk.key,
&enc));
LOG(LOG_WARNING,
- _("Content `%s' seems to be not available on the network.\n"),
- &enc);
+ _("Content `%s' seems to be not available on the network (tried %u
times).\n"),
+ &enc,
+ entry->tries);
}
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r2502 - GNUnet/src/applications/fs/ecrs,
grothoff <=