[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r4121 - GNUnet/src/applications/dstore
From: |
grothoff |
Subject: |
[GNUnet-SVN] r4121 - GNUnet/src/applications/dstore |
Date: |
Fri, 29 Dec 2006 22:05:42 -0800 (PST) |
Author: grothoff
Date: 2006-12-29 22:05:16 -0800 (Fri, 29 Dec 2006)
New Revision: 4121
Modified:
GNUnet/src/applications/dstore/dstore.c
Log:
fix
Modified: GNUnet/src/applications/dstore/dstore.c
===================================================================
--- GNUnet/src/applications/dstore/dstore.c 2006-12-30 05:55:44 UTC (rev
4120)
+++ GNUnet/src/applications/dstore/dstore.c 2006-12-30 06:05:16 UTC (rev
4121)
@@ -205,6 +205,13 @@
stmt = NULL;
dstmt = NULL;
payload += size;
+ GE_LOG(coreAPI->ectx,
+ GE_DEBUG | GE_REQUEST | GE_DEVELOPER,
+ "Storing %u bytes increases DStore payload to %llu out of %llu\n",
+ size,
+ payload,
+ quota);
+
if (payload > quota) {
GE_LOG(coreAPI->ectx,
GE_DEBUG | GE_REQUEST | GE_DEVELOPER,
@@ -289,7 +296,7 @@
sqlite3_close(dbh);
MUTEX_UNLOCK(lock);
if (stats != NULL)
- stats->change(stat_dstore_size, payload);
+ stats->set(stat_dstore_size, payload);
return OK;
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r4121 - GNUnet/src/applications/dstore,
grothoff <=