-avoid use after free
[oweals/gnunet.git] / src / conversation / test_conversation_api.c
index af2ff75e4ca8c5420ffff756c56503f783f2ccc5..101245c9e11a51b449c70f8ab1b2532ff49d63b9 100644 (file)
@@ -48,13 +48,14 @@ check ()
   };
   struct GNUNET_OS_Process *proc;
   char *path = GNUNET_OS_get_libexec_binary_path ( "gnunet-service-conversation");
+
   if (NULL == path)
   {
     fprintf (stderr, "Service executable not found `%s'\n", "gnunet-service-conversation");
     return 0;
   }
   proc = GNUNET_OS_start_process (GNUNET_NO, GNUNET_OS_INHERIT_STD_ALL, NULL, NULL,
-                               path,
+                                  path,
                                  "gnunet-service-conversation",
                                  NULL);
 
@@ -76,7 +77,7 @@ check ()
 int
 main (int argc, char *argv[])
 {
-  GNUNET_log_setup ("test_conversation_api", 
+  GNUNET_log_setup ("test_conversation_api",
                    "WARNING",
                    NULL);
   return check ();