projects
/
oweals
/
gnunet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
- file extension
[oweals/gnunet.git]
/
src
/
namestore
/
namestore_common.c
diff --git
a/src/namestore/namestore_common.c
b/src/namestore/namestore_common.c
index b8236edf0b64bb7987c0c77cbcda4e613d8e00cf..72a2625aedf482bfac1798078e0a75b22551f2b5 100644
(file)
--- a/
src/namestore/namestore_common.c
+++ b/
src/namestore/namestore_common.c
@@
-86,7
+86,7
@@
GNUNET_NAMESTORE_records_get_size (unsigned int rd_count,
ret = sizeof (struct NetworkRecord) * rd_count;
for (i=0;i<rd_count;i++)
{
- GNUNET_assert (
ret + rd[i].data_size
>= ret);
+ GNUNET_assert (
(ret + rd[i].data_size)
>= ret);
ret += rd[i].data_size;
}
return ret;