aboutsummaryrefslogtreecommitdiff
path: root/src/util/common_allocation.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2009-11-01 20:47:52 +0000
committerChristian Grothoff <christian@grothoff.org>2009-11-01 20:47:52 +0000
commit652e89b59ed2207c2c12172fdabcd6e659995c81 (patch)
treef054c819d483c1056e18c1099afd4c7fcd2582a0 /src/util/common_allocation.c
parent5e4113e83368849500792e57946c3d8dd9e548d8 (diff)
downloadgnunet-652e89b59ed2207c2c12172fdabcd6e659995c81.tar.gz
gnunet-652e89b59ed2207c2c12172fdabcd6e659995c81.zip
fixing bio testcase and a bug in bio.c, also indenting
Diffstat (limited to 'src/util/common_allocation.c')
-rw-r--r--src/util/common_allocation.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/util/common_allocation.c b/src/util/common_allocation.c
index 2f78c98f6..748ca620d 100644
--- a/src/util/common_allocation.c
+++ b/src/util/common_allocation.c
@@ -48,8 +48,7 @@ GNUNET_xmalloc_ (size_t size, const char *filename, int linenumber)
48{ 48{
49 /* As a security precaution, we generally do not allow very large 49 /* As a security precaution, we generally do not allow very large
50 allocations using the default 'GNUNET_malloc' macro */ 50 allocations using the default 'GNUNET_malloc' macro */
51 GNUNET_assert_at (size <= GNUNET_MAX_MALLOC_CHECKED, filename, 51 GNUNET_assert_at (size <= GNUNET_MAX_MALLOC_CHECKED, filename, linenumber);
52 linenumber);
53 return GNUNET_xmalloc_unchecked_ (size, filename, linenumber); 52 return GNUNET_xmalloc_unchecked_ (size, filename, linenumber);
54} 53}
55 54