diff options
author | Christian Grothoff <christian@grothoff.org> | 2012-09-27 19:36:14 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2012-09-27 19:36:14 +0000 |
commit | 9cefd9c5522797b132749ca7d99a930007d28347 (patch) | |
tree | 63aa5de219bbd5f0d23f5f0affd418eee5bdd494 /src/datacache/plugin_datacache_sqlite.c | |
parent | a6a4bf9797ecf078179a102f52d1e30a4987bf03 (diff) | |
download | gnunet-9cefd9c5522797b132749ca7d99a930007d28347.tar.gz gnunet-9cefd9c5522797b132749ca7d99a930007d28347.zip |
-converting more places to use STRINGS_relative_time_to_string
Diffstat (limited to 'src/datacache/plugin_datacache_sqlite.c')
-rw-r--r-- | src/datacache/plugin_datacache_sqlite.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/datacache/plugin_datacache_sqlite.c b/src/datacache/plugin_datacache_sqlite.c index 26792e1fb..b51423de2 100644 --- a/src/datacache/plugin_datacache_sqlite.c +++ b/src/datacache/plugin_datacache_sqlite.c | |||
@@ -107,10 +107,10 @@ sqlite_plugin_put (void *cls, const struct GNUNET_HashCode * key, size_t size, | |||
107 | int64_t dval; | 107 | int64_t dval; |
108 | 108 | ||
109 | LOG (GNUNET_ERROR_TYPE_DEBUG, | 109 | LOG (GNUNET_ERROR_TYPE_DEBUG, |
110 | "Processing `%s' of %u bytes with key `%4s' and expiration %llums\n", | 110 | "Processing `%s' of %u bytes with key `%4s' and expiration %s\n", |
111 | "PUT", (unsigned int) size, GNUNET_h2s (key), | 111 | "PUT", (unsigned int) size, GNUNET_h2s (key), |
112 | (unsigned long long) | 112 | (unsigned long long) |
113 | GNUNET_TIME_absolute_get_remaining (discard_time).rel_value); | 113 | GNUNET_STRINGS_relative_time_to_string (GNUNET_TIME_absolute_get_remaining (discard_time), GNUNET_YES)); |
114 | dval = (int64_t) discard_time.abs_value; | 114 | dval = (int64_t) discard_time.abs_value; |
115 | if (dval < 0) | 115 | if (dval < 0) |
116 | dval = INT64_MAX; | 116 | dval = INT64_MAX; |