aboutsummaryrefslogtreecommitdiff
path: root/src/mesh/gnunet-service-mesh_new.c
diff options
context:
space:
mode:
authorBart Polot <bart@net.in.tum.de>2012-07-05 13:55:50 +0000
committerBart Polot <bart@net.in.tum.de>2012-07-05 13:55:50 +0000
commitaf983018bce8c0b369fd392e5cbc3996627a1527 (patch)
tree08a5d030a613cfe3c28a76956540394aa0735603 /src/mesh/gnunet-service-mesh_new.c
parent06fcd88b725111a2d404888210f8dbe3b848a44b (diff)
downloadgnunet-af983018bce8c0b369fd392e5cbc3996627a1527.tar.gz
gnunet-af983018bce8c0b369fd392e5cbc3996627a1527.zip
- improved debug messages, added break_op for malformed block
Diffstat (limited to 'src/mesh/gnunet-service-mesh_new.c')
-rw-r--r--src/mesh/gnunet-service-mesh_new.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/mesh/gnunet-service-mesh_new.c b/src/mesh/gnunet-service-mesh_new.c
index 52485dcdd..23d462e22 100644
--- a/src/mesh/gnunet-service-mesh_new.c
+++ b/src/mesh/gnunet-service-mesh_new.c
@@ -740,8 +740,11 @@ regex_iterator (void *cls, const struct GNUNET_HashCode *key, const char *proof,
740 " regex dht put for state %s\n", 740 " regex dht put for state %s\n",
741 GNUNET_h2s(key)); 741 GNUNET_h2s(key));
742 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, 742 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
743 " proof: %s\n", 743 " proof: %s\n",
744 proof); 744 proof);
745 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
746 " num edges: %u\n",
747 num_edges);
745 748
746 opt = GNUNET_DHT_RO_DEMULTIPLEX_EVERYWHERE; 749 opt = GNUNET_DHT_RO_DEMULTIPLEX_EVERYWHERE;
747 if (GNUNET_YES == accepting) 750 if (GNUNET_YES == accepting)
@@ -749,7 +752,7 @@ regex_iterator (void *cls, const struct GNUNET_HashCode *key, const char *proof,
749 struct MeshRegexAccept block; 752 struct MeshRegexAccept block;
750 753
751 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, 754 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
752 " state %s is accepting, putting own id\n", 755 " state %s is accepting, putting own id\n",
753 GNUNET_h2s(key)); 756 GNUNET_h2s(key));
754 size = sizeof (block); 757 size = sizeof (block);
755 block.key = *key; 758 block.key = *key;