aboutsummaryrefslogtreecommitdiff
path: root/src/transport
diff options
context:
space:
mode:
Diffstat (limited to 'src/transport')
-rw-r--r--src/transport/gnunet-transport-wlan-receiver.c2
-rw-r--r--src/transport/gnunet-transport-wlan-sender.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/transport/gnunet-transport-wlan-receiver.c b/src/transport/gnunet-transport-wlan-receiver.c
index 22ad2e20d..73ca83ddc 100644
--- a/src/transport/gnunet-transport-wlan-receiver.c
+++ b/src/transport/gnunet-transport-wlan-receiver.c
@@ -101,7 +101,7 @@ main (int argc, char *argv[])
101 fprintf (stderr, "dup2 failed: %s\n", strerror (errno)); 101 fprintf (stderr, "dup2 failed: %s\n", strerror (errno));
102 (void) close (commpipe[0]); /* Close unused side of pipe (in side) */ 102 (void) close (commpipe[0]); /* Close unused side of pipe (in side) */
103 /* Replace the child fork with a new process */ 103 /* Replace the child fork with a new process */
104 if (execl 104 if (execlp
105 ("gnunet-helper-transport-wlan", "gnunet-helper-transport-wlan", 105 ("gnunet-helper-transport-wlan", "gnunet-helper-transport-wlan",
106 argv[1], NULL) == -1) 106 argv[1], NULL) == -1)
107 { 107 {
diff --git a/src/transport/gnunet-transport-wlan-sender.c b/src/transport/gnunet-transport-wlan-sender.c
index c5718b858..23561fada 100644
--- a/src/transport/gnunet-transport-wlan-sender.c
+++ b/src/transport/gnunet-transport-wlan-sender.c
@@ -204,7 +204,7 @@ main (int argc, char *argv[])
204 fprintf (stderr, "dup2 failed: %s\n", strerror (errno)); 204 fprintf (stderr, "dup2 failed: %s\n", strerror (errno));
205 (void) close (commpipe[1]); /* Close unused side of pipe (out side) */ 205 (void) close (commpipe[1]); /* Close unused side of pipe (out side) */
206 /* Replace the child fork with a new process */ 206 /* Replace the child fork with a new process */
207 if (execl 207 if (execlp
208 ("gnunet-helper-transport-wlan", "gnunet-helper-transport-wlan", 208 ("gnunet-helper-transport-wlan", "gnunet-helper-transport-wlan",
209 argv[1], NULL) == -1) 209 argv[1], NULL) == -1)
210 { 210 {