UINT_MAX instead of -1
authorHernani Marques <hernani@ccc-ch.ch>
Sun, 24 Jun 2018 22:10:29 +0000 (00:10 +0200)
committerHernani Marques <hernani@ccc-ch.ch>
Sun, 24 Jun 2018 22:10:29 +0000 (00:10 +0200)
src/fs/gnunet-service-fs_pr.c

index 8c431532fb200ba5ba96928cc108f8c521d36572..f1a115cb62a766a278309113f9c60245574d1f5d 100644 (file)
@@ -1601,7 +1601,7 @@ called_from_on_demand:
       GNUNET_BLOCK_get_key (GSF_block_ctx, type, data, size, &query))
   {
     GNUNET_break (0);
-    GNUNET_DATASTORE_remove (GSF_dsh, key, size, data, -1, -1,
+    GNUNET_DATASTORE_remove (GSF_dsh, key, size, data, UINT_MAX, UINT_MAX,
                              NULL, NULL);
     start_local_query (pr,
                        uid + 1 /* next_uid */,