-fix leaks
[oweals/gnunet.git] / src / namestore / test_namestore_api_put.c
index c0e04e98ed291f10cf200b205fd963afc9706ed8..4f06283c1b43641e107a45c27c85e05f9c7a282b 100644 (file)
@@ -175,11 +175,10 @@ int
 main (int argc, char *argv[])
 {
   res = 1;
-  if (0 != GNUNET_TESTING_service_run ("test-namestore-api-put",
-                                      "namestore",
-                                      "test_namestore_api.conf",
-                                      &run,
-                                      NULL))
+  if (0 != GNUNET_TESTING_peer_run ("test-namestore-api-put",
+                                    "test_namestore_api.conf",
+                                    &run,
+                                    NULL))
     return 1;
   return res;
 }