aboutsummaryrefslogtreecommitdiff
path: root/src/datastore/plugin_datastore_sqlite.c
diff options
context:
space:
mode:
authorgrothoff <grothoff@140774ce-b5e7-0310-ab8b-a85725594a96>2010-11-01 22:44:28 +0000
committergrothoff <grothoff@140774ce-b5e7-0310-ab8b-a85725594a96>2010-11-01 22:44:28 +0000
commit31a92b2aab699fee4df2a5548afe7e720973416f (patch)
tree59ef3e1b4158bb1ab76af5d88df503a69f5ab3be /src/datastore/plugin_datastore_sqlite.c
parentd7e2e6590e09192d73c71b7094b3883942ce176b (diff)
fixes from LRN for DEBUG code
git-svn-id: https://gnunet.org/svn/gnunet@13485 140774ce-b5e7-0310-ab8b-a85725594a96
Diffstat (limited to 'src/datastore/plugin_datastore_sqlite.c')
-rw-r--r--src/datastore/plugin_datastore_sqlite.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/datastore/plugin_datastore_sqlite.c b/src/datastore/plugin_datastore_sqlite.c
index 05ebed7c5c..01df7b6704 100644
--- a/src/datastore/plugin_datastore_sqlite.c
+++ b/src/datastore/plugin_datastore_sqlite.c
@@ -28,7 +28,7 @@
#include "plugin_datastore.h"
#include <sqlite3.h>
-#define DEBUG_SQLITE GNUNET_NO
+#define DEBUG_SQLITE GNUNET_YES
/**
@@ -667,7 +667,7 @@ sqlite_plugin_put (void *cls,
type,
GNUNET_h2s(key),
priority,
- (unsigned long long) GNUNET_TIME_absolute_get_remaining (expiration).abs_value,
+ (unsigned long long) GNUNET_TIME_absolute_get_remaining (expiration).rel_value,
(long long) expiration.abs_value);
#endif
GNUNET_CRYPTO_hash (data, size, &vhash);