aboutsummaryrefslogtreecommitdiff
path: root/src/psycstore/plugin_psycstore_sqlite.c
diff options
context:
space:
mode:
authorGabor X Toth <*@tg-x.net>2016-10-12 16:41:40 +0000
committerGabor X Toth <*@tg-x.net>2016-10-12 16:41:40 +0000
commit172c9bbdfdd7054663efd59e85e415c7ddafe1be (patch)
tree060ecfd25c08f049d22d2d3f87c747f2d29f60d1 /src/psycstore/plugin_psycstore_sqlite.c
parent7dc9da1f79ef3a619df7c17fab139ad6c7b745bc (diff)
downloadgnunet-172c9bbdfdd7054663efd59e85e415c7ddafe1be.tar.gz
gnunet-172c9bbdfdd7054663efd59e85e415c7ddafe1be.zip
psycstore: fix limit
Diffstat (limited to 'src/psycstore/plugin_psycstore_sqlite.c')
-rw-r--r--src/psycstore/plugin_psycstore_sqlite.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/psycstore/plugin_psycstore_sqlite.c b/src/psycstore/plugin_psycstore_sqlite.c
index 83ede6e41..e6f795971 100644
--- a/src/psycstore/plugin_psycstore_sqlite.c
+++ b/src/psycstore/plugin_psycstore_sqlite.c
@@ -1214,7 +1214,7 @@ message_get (void *cls,
1214 || SQLITE_OK != sqlite3_bind_int64 (stmt, 4, 1214 || SQLITE_OK != sqlite3_bind_int64 (stmt, 4,
1215 (0 != fragment_limit) 1215 (0 != fragment_limit)
1216 ? fragment_limit 1216 ? fragment_limit
1217 : -1)) 1217 : INT64_MAX))
1218 { 1218 {
1219 LOG_SQLITE (plugin, GNUNET_ERROR_TYPE_ERROR | GNUNET_ERROR_TYPE_BULK, 1219 LOG_SQLITE (plugin, GNUNET_ERROR_TYPE_ERROR | GNUNET_ERROR_TYPE_BULK,
1220 "sqlite3_bind"); 1220 "sqlite3_bind");