aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Schanzenbach <mschanzenbach@posteo.de>2012-07-11 12:26:56 +0000
committerMartin Schanzenbach <mschanzenbach@posteo.de>2012-07-11 12:26:56 +0000
commite6da47d05436c57ae65b2517d69782b27f920853 (patch)
treeb0775db04c9b8ba74eb4f064c704ee21d2b73ddd
parent663b5ff13ee90dbffeacca0172b04147472b266d (diff)
downloadgnunet-gtk-e6da47d05436c57ae65b2517d69782b27f920853.tar.gz
gnunet-gtk-e6da47d05436c57ae65b2517d69782b27f920853.zip
-fix new OS api
-rw-r--r--src/setup/gnunet-setup-transport.c3
-rw-r--r--src/setup/gnunet-setup.c12
2 files changed, 11 insertions, 4 deletions
diff --git a/src/setup/gnunet-setup-transport.c b/src/setup/gnunet-setup-transport.c
index 3283b750..d8b25c29 100644
--- a/src/setup/gnunet-setup-transport.c
+++ b/src/setup/gnunet-setup-transport.c
@@ -140,7 +140,8 @@ test_connection_reversal ()
140 if (NULL != resolver) 140 if (NULL != resolver)
141 return; /* test already active!? */ 141 return; /* test already active!? */
142 resolver = 142 resolver =
143 GNUNET_OS_start_process (GNUNET_YES, NULL, NULL, "gnunet-service-resolver", 143 GNUNET_OS_start_process (GNUNET_YES, GNUNET_OS_INHERIT_STD_ALL,
144 NULL, NULL, "gnunet-service-resolver",
144 "gnunet-service-resolver", NULL); 145 "gnunet-service-resolver", NULL);
145 GNUNET_SCHEDULER_add_now (&reversal_test, NULL); 146 GNUNET_SCHEDULER_add_now (&reversal_test, NULL);
146} 147}
diff --git a/src/setup/gnunet-setup.c b/src/setup/gnunet-setup.c
index 74c95412..5995d2f2 100644
--- a/src/setup/gnunet-setup.c
+++ b/src/setup/gnunet-setup.c
@@ -360,7 +360,9 @@ GNUNET_SETUP_restart_namestore (void *cls,
360 namestore = NULL; 360 namestore = NULL;
361 } 361 }
362 namestore = 362 namestore =
363 GNUNET_OS_start_process (GNUNET_YES, NULL, NULL, "gnunet-service-namestore", 363 GNUNET_OS_start_process (GNUNET_YES, GNUNET_OS_INHERIT_STD_ALL,
364 NULL, NULL,
365 "gnunet-service-namestore",
364 "gnunet-service-namestore", NULL); 366 "gnunet-service-namestore", NULL);
365 GNUNET_SETUP_gns_init (); 367 GNUNET_SETUP_gns_init ();
366} 368}
@@ -400,10 +402,14 @@ run (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc)
400 (void) GNUNET_CONFIGURATION_load (cfg, cfgName); 402 (void) GNUNET_CONFIGURATION_load (cfg, cfgName);
401 main_window = GTK_WIDGET (GNUNET_SETUP_get_object ("GNUNET_setup_dialog")); 403 main_window = GTK_WIDGET (GNUNET_SETUP_get_object ("GNUNET_setup_dialog"));
402 resolver = 404 resolver =
403 GNUNET_OS_start_process (GNUNET_YES, NULL, NULL, "gnunet-service-resolver", 405 GNUNET_OS_start_process (GNUNET_YES, GNUNET_OS_INHERIT_STD_ALL,
406 NULL,NULL,
407 "gnunet-service-resolver",
404 "gnunet-service-resolver", NULL); 408 "gnunet-service-resolver", NULL);
405 namestore = 409 namestore =
406 GNUNET_OS_start_process (GNUNET_YES, NULL, NULL, "gnunet-service-namestore", 410 GNUNET_OS_start_process (GNUNET_YES, GNUNET_OS_INHERIT_STD_ALL,
411 NULL, NULL,
412 "gnunet-service-namestore",
407 "gnunet-service-namestore", NULL); 413 "gnunet-service-namestore", NULL);
408 load_options (); 414 load_options ();
409 GNUNET_SETUP_gns_init (); 415 GNUNET_SETUP_gns_init ();