diff options
author | Christian Grothoff <christian@grothoff.org> | 2010-11-01 22:44:28 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2010-11-01 22:44:28 +0000 |
commit | bdef044d942a5f75f698bef989a1e768e79d2976 (patch) | |
tree | 59ef3e1b4158bb1ab76af5d88df503a69f5ab3be /src/datastore/plugin_datastore_sqlite.c | |
parent | e9cf3782a3c5c2bcf6bdeff58b8a3536585791eb (diff) | |
download | gnunet-bdef044d942a5f75f698bef989a1e768e79d2976.tar.gz gnunet-bdef044d942a5f75f698bef989a1e768e79d2976.zip |
fixes from LRN for DEBUG code
Diffstat (limited to 'src/datastore/plugin_datastore_sqlite.c')
-rw-r--r-- | src/datastore/plugin_datastore_sqlite.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/datastore/plugin_datastore_sqlite.c b/src/datastore/plugin_datastore_sqlite.c index 05ebed7c5..01df7b670 100644 --- a/src/datastore/plugin_datastore_sqlite.c +++ b/src/datastore/plugin_datastore_sqlite.c | |||
@@ -28,7 +28,7 @@ | |||
28 | #include "plugin_datastore.h" | 28 | #include "plugin_datastore.h" |
29 | #include <sqlite3.h> | 29 | #include <sqlite3.h> |
30 | 30 | ||
31 | #define DEBUG_SQLITE GNUNET_NO | 31 | #define DEBUG_SQLITE GNUNET_YES |
32 | 32 | ||
33 | 33 | ||
34 | /** | 34 | /** |
@@ -667,7 +667,7 @@ sqlite_plugin_put (void *cls, | |||
667 | type, | 667 | type, |
668 | GNUNET_h2s(key), | 668 | GNUNET_h2s(key), |
669 | priority, | 669 | priority, |
670 | (unsigned long long) GNUNET_TIME_absolute_get_remaining (expiration).abs_value, | 670 | (unsigned long long) GNUNET_TIME_absolute_get_remaining (expiration).rel_value, |
671 | (long long) expiration.abs_value); | 671 | (long long) expiration.abs_value); |
672 | #endif | 672 | #endif |
673 | GNUNET_CRYPTO_hash (data, size, &vhash); | 673 | GNUNET_CRYPTO_hash (data, size, &vhash); |