projects
/
oweals
/
gnunet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b397c3e
)
-I guess this can happen, but should be incredibly rare (or could be provoked by...
author
Christian Grothoff
<christian@grothoff.org>
Sun, 1 Jan 2012 18:54:25 +0000
(18:54 +0000)
committer
Christian Grothoff
<christian@grothoff.org>
Sun, 1 Jan 2012 18:54:25 +0000
(18:54 +0000)
src/fs/gnunet-service-fs_cp.c
patch
|
blob
|
history
diff --git
a/src/fs/gnunet-service-fs_cp.c
b/src/fs/gnunet-service-fs_cp.c
index aa108c39aaff1f49a580b31204ad91cbb298277c..164e264c619bb85c6d763fc46cfa135061d05b8b 100644
(file)
--- a/
src/fs/gnunet-service-fs_cp.c
+++ b/
src/fs/gnunet-service-fs_cp.c
@@
-904,7
+904,10
@@
handle_p2p_reply (void *cls, enum GNUNET_BLOCK_EvaluationResult eval,
GNUNET_break (type != GNUNET_BLOCK_TYPE_ANY);
if ((prd->type != type) && (prd->type != GNUNET_BLOCK_TYPE_ANY))
{
- GNUNET_break (0);
+ GNUNET_STATISTICS_update (GSF_stats,
+ gettext_noop
+ ("# replies dropped due to type mismatch"),
+ 1, GNUNET_NO);
return;
}
#if DEBUG_FS