diff options
author | Christian Grothoff <christian@grothoff.org> | 2010-07-09 12:38:03 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2010-07-09 12:38:03 +0000 |
commit | 0e9c5725285236633f63363a649e62b890a915b6 (patch) | |
tree | 35113e7c63169edb17096968c3ce3ad8b00422ee | |
parent | 0bda93c14a74e838829b3ecdd712f16188488eb9 (diff) | |
download | gnunet-0e9c5725285236633f63363a649e62b890a915b6.tar.gz gnunet-0e9c5725285236633f63363a649e62b890a915b6.zip |
ge
-rw-r--r-- | src/datastore/gnunet-service-datastore.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/datastore/gnunet-service-datastore.c b/src/datastore/gnunet-service-datastore.c index 073c74dd9..34cb70906 100644 --- a/src/datastore/gnunet-service-datastore.c +++ b/src/datastore/gnunet-service-datastore.c | |||
@@ -1049,7 +1049,7 @@ handle_put (void *cls, | |||
1049 | if (NULL != pos) | 1049 | if (NULL != pos) |
1050 | { | 1050 | { |
1051 | GNUNET_break (pos->entries > 0); | 1051 | GNUNET_break (pos->entries > 0); |
1052 | GNUNET_break (pos->amount > size); | 1052 | GNUNET_break (pos->amount >= size); |
1053 | pos->entries--; | 1053 | pos->entries--; |
1054 | pos->amount -= size; | 1054 | pos->amount -= size; |
1055 | reserved -= (size + GNUNET_DATASTORE_ENTRY_OVERHEAD); | 1055 | reserved -= (size + GNUNET_DATASTORE_ENTRY_OVERHEAD); |