config fix
[oweals/gnunet.git] / src / sensor / gnunet-service-sensor.c
index 20466cec3fc1115ad068956a4821112df97584b4..85aa8fab6f322843f312f46eb6fb0ae4f0494e7d 100644 (file)
@@ -99,7 +99,7 @@ shutdown_task (void *cls,
   }
   if(NULL != peerstore)
   {
-    GNUNET_PEERSTORE_disconnect(peerstore);
+    GNUNET_PEERSTORE_disconnect(peerstore, GNUNET_YES); /*FIXME: merge into a global peerstore connection */
     peerstore = NULL;
   }
   GNUNET_SCHEDULER_shutdown();