aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBart Polot <bart@net.in.tum.de>2013-04-11 13:48:53 +0000
committerBart Polot <bart@net.in.tum.de>2013-04-11 13:48:53 +0000
commit5866faeb79acb4349bfdd2fc0a05c7c7e0ef7ddf (patch)
tree3cd52c6ccba36518405b512add3fc89cf6aec284 /src
parent05126a4092d93b60bb0d941519f1ec5794bc8a69 (diff)
downloadgnunet-5866faeb79acb4349bfdd2fc0a05c7c7e0ef7ddf.tar.gz
gnunet-5866faeb79acb4349bfdd2fc0a05c7c7e0ef7ddf.zip
- dont print the whole regex on debug
Diffstat (limited to 'src')
-rw-r--r--src/regex/regex_dht.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/regex/regex_dht.c b/src/regex/regex_dht.c
index f9e25c274..f1225e5ae 100644
--- a/src/regex/regex_dht.c
+++ b/src/regex/regex_dht.c
@@ -178,7 +178,6 @@ regex_iterator (void *cls,
178 1, GNUNET_NO); 178 1, GNUNET_NO);
179 GNUNET_STATISTICS_update (h->stats, "# regex block bytes stored", 179 GNUNET_STATISTICS_update (h->stats, "# regex block bytes stored",
180 size, GNUNET_NO); 180 size, GNUNET_NO);
181
182 GNUNET_free (block); 181 GNUNET_free (block);
183} 182}
184 183
@@ -208,7 +207,8 @@ GNUNET_REGEX_announce (struct GNUNET_DHT_Handle *dht,
208void 207void
209GNUNET_REGEX_reannounce (struct GNUNET_REGEX_announce_handle *h) 208GNUNET_REGEX_reannounce (struct GNUNET_REGEX_announce_handle *h)
210{ 209{
211 LOG (GNUNET_ERROR_TYPE_INFO, "GNUNET_REGEX_reannounce: %s\n", h->regex); 210 GNUNET_assert (NULL != h->dfa); /* make sure to call announce first */
211 LOG (GNUNET_ERROR_TYPE_INFO, "GNUNET_REGEX_reannounce: %.40s\n", h->regex);
212 GNUNET_REGEX_iterate_all_edges (h->dfa, &regex_iterator, h); 212 GNUNET_REGEX_iterate_all_edges (h->dfa, &regex_iterator, h);
213} 213}
214 214