aboutsummaryrefslogtreecommitdiff
path: root/src/service/datastore/gnunet-service-datastore.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/service/datastore/gnunet-service-datastore.c')
-rw-r--r--src/service/datastore/gnunet-service-datastore.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/service/datastore/gnunet-service-datastore.c b/src/service/datastore/gnunet-service-datastore.c
index f45e71ee9..d42e16fe2 100644
--- a/src/service/datastore/gnunet-service-datastore.c
+++ b/src/service/datastore/gnunet-service-datastore.c
@@ -1078,11 +1078,13 @@ handle_remove (void *cls, const struct DataMessage *dm)
1078 * @param message the actual message 1078 * @param message the actual message
1079 */ 1079 */
1080static void 1080static void
1081handle_drop (void *cls, const struct GNUNET_MessageHeader *message) 1081handle_drop (void *cls,
1082 const struct GNUNET_MessageHeader *message)
1082{ 1083{
1083 struct GNUNET_SERVICE_Client *client = cls; 1084 struct GNUNET_SERVICE_Client *client = cls;
1084 1085
1085 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "Processing DROP request\n"); 1086 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
1087 "Processing DROP request\n");
1086 do_drop = GNUNET_YES; 1088 do_drop = GNUNET_YES;
1087 GNUNET_SERVICE_client_continue (client); 1089 GNUNET_SERVICE_client_continue (client);
1088} 1090}
@@ -1330,7 +1332,8 @@ cleaning_task (void *cls)
1330 } 1332 }
1331 if (GNUNET_YES == do_drop) 1333 if (GNUNET_YES == do_drop)
1332 { 1334 {
1333 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "Dropping database!\n"); 1335 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
1336 "Dropping database!\n");
1334 plugin->api->drop (plugin->api->cls); 1337 plugin->api->drop (plugin->api->cls);
1335 payload = 0; 1338 payload = 0;
1336 last_sync++; 1339 last_sync++;