-fix
authorChristian Grothoff <christian@grothoff.org>
Tue, 24 Apr 2012 11:59:44 +0000 (11:59 +0000)
committerChristian Grothoff <christian@grothoff.org>
Tue, 24 Apr 2012 11:59:44 +0000 (11:59 +0000)
src/datastore/perf_datastore_api.c

index aae152db81dc5e6eb33551aa86eb555f470d67f2..296853ab4b00b1252e6a52965c80627c2826e44b 100644 (file)
@@ -285,8 +285,9 @@ run_tests (void *cls, int success, struct GNUNET_TIME_Absolute min_expiration, c
   if (success != GNUNET_YES)
   {
     FPRINTF (stderr,
-             "Test 'put' operation failed with error `%s' database likely not setup, skipping test.",
+             "Test 'put' operation failed with error `%s' database likely not setup, skipping test.\n",
              msg);
+    GNUNET_DATASTORE_disconnect (datastore, GNUNET_YES);
     GNUNET_free (crc);
     return;
   }