projects
/
oweals
/
gnunet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
curly wars / auto-indentation
[oweals/gnunet.git]
/
src
/
datacache
/
datacache.c
diff --git
a/src/datacache/datacache.c
b/src/datacache/datacache.c
index 324ab78ef58befe9f3b2d64700ca58e7ce55f21f..d68ba72b59613e1b35c8db389375fd3a87f6b911 100644
(file)
--- a/
src/datacache/datacache.c
+++ b/
src/datacache/datacache.c
@@
-109,8
+109,7
@@
env_delete_notify (void *cls, const GNUNET_HashCode * key, size_t size)
struct GNUNET_DATACACHE_Handle *h = cls;
#if DEBUG_DATACACHE
struct GNUNET_DATACACHE_Handle *h = cls;
#if DEBUG_DATACACHE
- LOG (GNUNET_ERROR_TYPE_DEBUG,
- "Content under key `%s' discarded\n",
+ LOG (GNUNET_ERROR_TYPE_DEBUG, "Content under key `%s' discarded\n",
GNUNET_h2s (key));
#endif
GNUNET_assert (h->utilization >= size);
GNUNET_h2s (key));
#endif
GNUNET_assert (h->utilization >= size);
@@
-243,8
+242,7
@@
GNUNET_DATACACHE_put (struct GNUNET_DATACACHE_Handle *h,
return GNUNET_SYSERR;
}
#if DEBUG_DATACACHE
return GNUNET_SYSERR;
}
#if DEBUG_DATACACHE
- LOG (GNUNET_ERROR_TYPE_DEBUG,
- "Stored data under key `%s' in cache\n",
+ LOG (GNUNET_ERROR_TYPE_DEBUG, "Stored data under key `%s' in cache\n",
GNUNET_h2s (key));
#endif
GNUNET_STATISTICS_update (h->stats, gettext_noop ("# bytes stored"), size,
GNUNET_h2s (key));
#endif
GNUNET_STATISTICS_update (h->stats, gettext_noop ("# bytes stored"), size,
@@
-276,8
+274,7
@@
GNUNET_DATACACHE_get (struct GNUNET_DATACACHE_Handle *h,
GNUNET_STATISTICS_update (h->stats, gettext_noop ("# requests received"), 1,
GNUNET_NO);
#if DEBUG_DATACACHE
GNUNET_STATISTICS_update (h->stats, gettext_noop ("# requests received"), 1,
GNUNET_NO);
#if DEBUG_DATACACHE
- LOG (GNUNET_ERROR_TYPE_DEBUG,
- "Processing request for key `%s'\n",
+ LOG (GNUNET_ERROR_TYPE_DEBUG, "Processing request for key `%s'\n",
GNUNET_h2s (key));
#endif
if (GNUNET_OK != GNUNET_CONTAINER_bloomfilter_test (h->filter, key))
GNUNET_h2s (key));
#endif
if (GNUNET_OK != GNUNET_CONTAINER_bloomfilter_test (h->filter, key))
@@
-287,9
+284,8
@@
GNUNET_DATACACHE_get (struct GNUNET_DATACACHE_Handle *h,
("# requests filtered by bloom filter"), 1,
GNUNET_NO);
#if DEBUG_DATACACHE
("# requests filtered by bloom filter"), 1,
GNUNET_NO);
#if DEBUG_DATACACHE
- LOG (GNUNET_ERROR_TYPE_DEBUG,
- "Bloomfilter filters request for key `%s'\n",
- GNUNET_h2s (key));
+ LOG (GNUNET_ERROR_TYPE_DEBUG, "Bloomfilter filters request for key `%s'\n",
+ GNUNET_h2s (key));
#endif
return 0; /* can not be present */
}
#endif
return 0; /* can not be present */
}