aboutsummaryrefslogtreecommitdiff
path: root/src/transport/gnunet-transport-wlan-receiver.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/transport/gnunet-transport-wlan-receiver.c')
-rw-r--r--src/transport/gnunet-transport-wlan-receiver.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/transport/gnunet-transport-wlan-receiver.c b/src/transport/gnunet-transport-wlan-receiver.c
index ccc1d291f..b38285123 100644
--- a/src/transport/gnunet-transport-wlan-receiver.c
+++ b/src/transport/gnunet-transport-wlan-receiver.c
@@ -53,7 +53,7 @@ main (int argc, char *argv[])
53 /* Setup communication pipeline first */ 53 /* Setup communication pipeline first */
54 if (pipe (commpipe)) 54 if (pipe (commpipe))
55 { 55 {
56 fprintf (stderr, 56 fprintf (stderr,
57 "Failed to create pipe: %s\n", 57 "Failed to create pipe: %s\n",
58 STRERROR (errno)); 58 STRERROR (errno));
59 exit (1); 59 exit (1);
@@ -62,8 +62,8 @@ main (int argc, char *argv[])
62 /* Attempt to fork and check for errors */ 62 /* Attempt to fork and check for errors */
63 if ((pid = fork ()) == -1) 63 if ((pid = fork ()) == -1)
64 { 64 {
65 fprintf (stderr, "Failed to fork: %s\n", 65 fprintf (stderr, "Failed to fork: %s\n",
66 STRERROR (errno)); 66 STRERROR (errno));
67 exit (1); 67 exit (1);
68 } 68 }
69 69
@@ -90,7 +90,7 @@ main (int argc, char *argv[])
90 { 90 {
91 bytes_per_s = count / (akt - start); 91 bytes_per_s = count / (akt - start);
92 bytes_per_s /= 1024; 92 bytes_per_s /= 1024;
93 printf ("recv %f kb/s\n", bytes_per_s); 93 printf ("recv %f kb/s\n", bytes_per_s);
94 start = akt; 94 start = akt;
95 count = 0; 95 count = 0;
96 } 96 }